-
Notifications
You must be signed in to change notification settings - Fork 31
Update Table Cells
nbajiaoshi edited this page Jun 4, 2018
·
12 revisions
PUT /api/updateTableCells
Return a status indicates whether the operation has been successfully done or not.
Field | Data Type | Description |
---|---|---|
linkTableId | String | The unique linkTableId corresponding to a table and a region of sheet. |
row1 | Int | The relative row id where the updates begins on the sheet. The id for the first row is 0. |
row2 | Int | The relative row id where the updates ends on the sheet. The id for the first row is 0. |
col1 | Int | The relative column id where the updates begins on the sheet. The id for the first column is 0. |
col2 | Int | The relative column id where the updates ends on the sheet. The id for the first column is 0. |
values | List(List(Object)) | The values of the cells to perform insert. The size of the matrix and the type of each element must be strictly consistent with the schema. |
PUT https://localhost:8080/api/updateTableCells
JSON Parameters:
{
"linkTableId":"tjh5si3w6",
"row1":0,
"row2":0,
"col1":0,
"col2":0,
"values":[
["David",26,98.2],
["John",22,93.4],
["David",27,90]
]
}
{
"status": "success",
"message": null,
"data": null
}