Перейти к основному содержимому

undo_actions

Description

Устанавливает действия, которые операция Undo будет откатывать

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

Example

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

Details

заметка

Эта настройка определяется в расширении undo, поэтому нужно включить плагин undo. Подробности см. в статье Функциональность Undo/Redo.

  • update - (string) - имя действия "update"
  • remove - (string) - имя действия "remove"
  • add - (string) - имя действия "add"
  • move - (string) - имя действия "move"

Change log

  • добавлено в версии 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.