Undo/Redo Support for TableSheet

Posted by: michael.thrift2 on 28 July 2022, 4:50 am EST

  • 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);
  • Replied 28 July 2022, 6:34 pm EST

    Hi,

    We have made an enhancement request on your behalf. We will update you if we get information from the team. The internal ID for this issue will be SJS-14076.

    Regards,
    Avinash
  • Replied 1 August 2022, 3:56 pm EST

    HI,

    The team informed us that it is already in our backlog and it will be available in future releases but as of now we do not have any ETA.

    Regards,
    Avinash
  • Replied 10 August 2022, 4:59 am EST

    Can you verify if any work-around exists? Perhaps I can hook into the shortcut key event and manually call an undo?
  • Replied 10 August 2022, 1:46 pm EST

    Hi Micheal,

    We are sorry but currently, there is no workaround available since there is undo/redo stack available for the table sheet we can not hoo event and call undo manually. We are sorry for the inconvenience. Further, since it is in our backlog it will be available in our upcoming release but we do not have any ETA. We are sorry for the inconvenience.

    Regards,
    Avinash
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels