clears the stack of stored undo commands
gantt.clearUndoStack();
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.
added in version 5.2
Back to top