Posted 28 July 2022, 4:50 am EST
Does the TableSheet feature in the SpreadJS component leverage the Undo/Redo stack? I am unable to use Ctrl+Z to undo a cell edit action when using a TableSheet. I’ve confirmed that the spread.options.allowUndo is set to true.
Any suggestions?
spread.suspendPaint();
spread.options.allowUndo = true;
spread.options.autoFitType = GC.Spread.Sheets.AutoFitType.cellWithHeader;
undoManager = spread.undoManager();
undoManager.maxSize(20);