跳到主要内容

onClear

Description

在通过 clearAll 方法从甘特图中移除所有任务后触发

onClear: () => void;

Example

gantt.attachEvent("onClear", function (){
// 在这里插入您的自定义逻辑
});
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.