Zum Hauptinhalt springen

undo_actions

Description

Legt die Aktionen fest, die der Undo-Vorgang rückgängig macht

undo_actions: { update?: string; remove?: string; add?: string; move?: string; }

Example

gantt.config.undo_actions = {
update: "update",
remove: "remove", // entfernt ein Element aus dem Datenspeicher
add: "add",
move: "move"
};

Details

Hinweis

Diese Option ist in der undo-Erweiterung definiert, daher müssen Sie das undo Plugin aktivieren. Lesen Sie die Details im Artikel Undo/Redo Functionality.

  • update - (string) - der Name der "update"-Aktion
  • remove - (string) - der Name der "remove"-Aktion
  • add - (string) - der Name der "add"-Aktion
  • move - (string) - der Name der "move"-Aktion

Change log

  • hinzugefügt in Version 4.0
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.