Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/performance/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 更新单元格后,自定义数字格式消失_Java_Google Sheets_Google Spreadsheet Api - Fatal编程技术网

Java 更新单元格后,自定义数字格式消失

Java 更新单元格后,自定义数字格式消失,java,google-sheets,google-spreadsheet-api,Java,Google Sheets,Google Spreadsheet Api,我正在使用谷歌电子表格的JavaAPI修改电子表格中单元格的值。这样做: CellEntry cell = ... cell.changeInputValueLocal(newInputValue); cell.update(); 我的问题是单元格有一个自定义的数字格式(######0“colli”),在我以编程方式编写单元格后,它就消失了。我想在单元格中写一个数字(200)。此操作后,单元格的编号格式设置为“自动” 我做错了什么?有一系列问题,但看起来没有人在使用谷歌电子表格api

我正在使用谷歌电子表格的JavaAPI修改电子表格中单元格的值。这样做:

CellEntry cell = ...
cell.changeInputValueLocal(newInputValue);
cell.update();
我的问题是单元格有一个自定义的数字格式(
######0“colli”
),在我以编程方式编写单元格后,它就消失了。我想在单元格中写一个数字(200)。此操作后,单元格的编号格式设置为“自动”


我做错了什么?

有一系列问题,但看起来没有人在使用谷歌电子表格api