Skip to main content

clearUndoStack

Description​

Clears the stack of stored undo commands

clearUndoStack: () => void

Example​

gantt.clearUndoStack();

Details​

note

This method is defined in the undo extension, so you need to enable the undo plugin. Read the details in the Undo/Redo Functionality article.

Change log​

  • added in version 5.2
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.