跳到主要内容

undo

Description

撤销对甘特图所做的更改

undo: () => void

Example

gantt.undo();

Details

注释

此方法在 undo 扩展中定义,因此您需要激活 undo 插件。请在 Undo/Redo Functionality 条目中了解详细信息。

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.