Posted 29 September 2018, 5:18 am EST
Hi,
This problem occurred in https://www.grapecity.com/en/demos/spread/JS/InspectorSample/
I click the “Clear” button on toolbar to clear the data or format(such as bgcolor…) of selected cells.
(it use sheet.clear() and sheet.removeSpan() function)
Then Ctrl+Z , but the undo does not work to recover the data or format just cleared.
I know that the contextmenu “clear contents” can clear data only and undo successfully.
(it use spread.commandManager().execute({ cmd: “clearValues”, sheetName: name, ranges: [range] })![]()
anyone can tell me how to UNDO the format modification through API?
Thanks