Skip to main content

undo_types

Description

Sets the types of entities for which the Undo operation will be applied

undo_types: { link?: string; task?: string; }

Example

gantt.config.undo_types = {
link:"link",
task:"task"
};

Details

note

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.

  • link - (string) - the name of the "link" entity
  • task - (string) - the name of the "task" entity

Change log

  • added in version 4.0