Posted 7 August 2018, 3:43 am EST
Hi Team,
We having been following http://help.grapecity.com/spread/SpreadSheets11/webframe.html#sccopy.html
to copy and paste the content through code in spreadJS. After doing that, If I do Ctrl+z, it just undo what I did through code. We don’t want this happen.
Doing spread.options.allowUndo=false; makes it work, but its disabling the ctrl+z operation.
spread.commandManager().execute({cmd: “clipboardPaste”, sheetName: “Sheet1”, fromSheet: sheet, fromRanges: fromRange, pastedRanges: toRanges, isCutting: true, clipboardText: “”, pasteOption: GC.Spread.Sheets.ClipboardPasteOptions.all});
Is there is way to pass canUndo field as false,to above command.