跳到主要内容

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.