returns the stack of stored redo user actions
|array||an array of the redo user actions|
var stack = gantt.getRedoStack();
This method is defined in the ext/dhtmlxgantt_undo.js extension, so you need to include it on the page. Read the details in the Undo/Redo Functionality article.
The returned stack is an array of the redo 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 getRedoStack() method returns a stack with 3 redo user actions. The first and second actions contain 1 command each, while the third one has 3 commands.
added in version 4.0Back to top