我最近编写了一个使用API1.1自动更新工作表的程序,它使用行
smartsheet.rows().updateCells(rowId, cells);若要更新工作表中的一行单元格,请执行以下操作。在2.0版本中,行()已被废弃,但我仍然找不到该行的2.0等效项。
发布于 2015-08-17 20:34:06
updateCells()已被updateRows()替换,可以使用rowResources()进行访问。详细的示例代码可在这里获得:http://smartsheet-platform.github.io/api-docs/#update-cell(s)
样本代码:
Row rowA = new Row.UpdateRowBuilder().setCells(cellsB).setRowId(rowId).build();
List<Row> updatedRows = smartsheet.sheetResources().rowResources().updateRows(sheetId, Arrays.asList(rowA));https://stackoverflow.com/questions/32017966
复制相似问题