跳到主要内容

onParse

Description

当数据解析完成(准备好供API使用)但尚未显示在甘特图中时触发

onParse: () => void;

Example

gantt.init("gantt_here");
gantt.attachEvent("onParse", function(){alert("数据已解析")});

gantt.parse(demo_tasks);
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.