undo_actions

sets the actions that the Undo operation will revert

object undo_actions;

Example

gantt.config.undo_actions = {
    update: "update",
    remove: "remove", // remove an item from datastore
    add: "add",
    move: "move"
};

Related samples

Details

This option is defined in the undo extension, so you need to enable the undo plugin. Read the details in the Undo/Redo Functionality article.

  • update - (string) - the name of the "update" action
  • remove - (string) - the name of the "remove" action
  • add - (string) - the name of the "add" action
  • move - (string) - the name of the "move" action
See also
Change log

added in version 4.0

Back to top