Obsolete
Status Update
Comments
va...@google.com <va...@google.com> #2
ka...@gmail.com <ka...@gmail.com> #3
Thank you for replying. About UpdateTableRowStylesRequest
, unfortunately, tableRowStyle
has only the property of minRowHeight
. In this case, it seems that there are no methods for changing the background color of cells, span and so on as mentioned at "What is the purpose of this new feature?". If I misunderstood your replying, I apologize.
va...@google.com <va...@google.com> #4
I understand the difference thank you. Could you tell me the business impact such a feature would have for your business?
re...@gmail.com <re...@gmail.com> #5
sure, i made some document generator that will be given to my customer, if this feature is possible, the table could be seen nicer and also it made huge differences between table heading and table data. this is really means a lot
va...@google.com <va...@google.com> #6
Thank you for the additional information. I have forwarded this request internally and we will post any updates here.
Kind regards,
jp...@google.com <jp...@google.com>
jp...@google.com <jp...@google.com> #7
Here is some sample JSON for updating a document where a table starts at index 2:
{
"requests": [
{
"updateTableCellStyle": {
"tableCellStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0.8,
"red": 0.8,
"green": 0.8
}
}
}
},
"fields": "backgroundColor",
"tableRange": {
"tableCellLocation": {
"columnIndex": 0,
"rowIndex": 0,
"tableStartLocation": {
"index": 2
}
},
"columnSpan": 4,
"rowSpan": 1
}
}
}
]
}
Description
A short description of the request:
I would like to propose to:
In the current stage, tableCellStyle cannot be updated using the method of batchUpdate in Google Docs API.
What is the purpose of this new feature?
If the method for updating tableCellStyle API is added to Google Docs, the complete table with the background color of cells, span and so on can be modified from outside. And further more, the table get to be able to be copied to the same and other Google Document. About this, for example, adding the method for copying the object in the Google Document can achieve the same result.