Posted 26 September 2018, 4:09 am EST
Hi,
Ctrl+x /Ctrl+v to cut A1 to B1 runs well in single file case, the data of A1 moved to B1 and then the A1 been set to empty.
We have an requirement to CUT A1 cell of a.xlsx to B1 cell of b.xlsx , but the A1 does not be cleared after been pasted to B1.
to solve this problem, after ctrl+x , i use GC.Spread.Sheets.designer.spreadActions.clearContent(spread) immediately to clear A1 before it pasted to another file , all these seems runs well.
The problem is, when I return to a.xlsx and tried to Undo(Ctrl+Z) to rollback A1 to previous status, the A1 still be empty undo failed, i guess the Action.clearContent() does not be pushed to the stack of undoManager.
Anyone can tell me how to clear the cell and can undo the clear action through Ctrl+Z.
Or tell me how to simulate an keyDown event(delete) for A1 cell.
Thanks very much!
Open two instance of below url can recreate it.
https://www.grapecity.com/en/demos/spread/JS/InspectorSample/

