onParse

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

void onParse();

Example

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

See also
Back to top