Google Spreadsheet Api sets cell color

I am using Google Data api ListEntry to write value to google worksheet. https://developers.google.com/google-apps/spreadsheets/data

 val row = new ListEntry()
 row.getCustomElements().setValueLocal(
      "email", email)

      

I wonder if the color can also be given to the cage.


+3


source to share


1 answer


See Range documentation .



range.setBackground('white');
range.setBackground('#ffffff');
range.setBackgroundRGB(255,255,255);

      

-2


source







All Articles