Posted 19 April 2023, 2:34 pm EST - Updated 19 April 2023, 2:37 pm EST
I follow this code for clearAndEditing, but I found this command uses 2 params and don’t have params check Undo. How can i check clearAndEditing is Undo
Note: I checking use backspace event from
https://www.grapecity.com/spreadjs/docs/features/keyboard-actions/keyboard
https://www.grapecity.com/forums/spreadjs/programatically-trigger-paste-event-ctrl-v
let old = GC.Spread.Sheets.Commands.clipboardPaste.execute;
GC.Spread.Sheets.Commands.clipboardPaste.execute = function (spread, option, isUndo){
console.log(option);
old.apply(this, arguments);
}