跳到主要内容

onParse

Description

数据在解析后可供 API 使用,但在甘特图渲染之前触发

onParse: () => void;

Example

gantt.init("gantt_here");
gantt.attachEvent("onParse", function(){alert("Data was parsed")});

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.