returns the stack of stored undo user actions
|array||an array of the undo user actions|
var stack = gantt.getUndoStack();
The returned stack is an array of the undo user actions. Each user action contains a set of commands. A command is an object with the following attributes:
Have a look at the example below:
The getUndoStack() method returns a stack with 2 undo user actions. The first action contains 3 commands, while the second one has 1 command.
added in version 4.0Back to top