reverts the changes made in the gantt
gantt.undo();
This method is defined in the undo extension, so you need to activate the undo plugin. Read the details in the Undo/Redo Functionality article.
added in version 4.0