fires after the undo() method was called
action | array | an array of command objects |
gantt.attachEvent("onAfterUndo",function(action){
// your code here
});
This event is defined in the undo extension, so you need to enable the undo plugin. Read the details in the Undo/Redo Functionality article.
The action parameter presents an array of command objects, each of which includes the following set of attributes:
If no changes were applied, the action argument will be === null. It can happen when gantt.undo() was called, but changes were canceled by onBeforeUndo or the stack was empty.