在数据解析开始之前触发
gantt.init("gantt_here"); gantt.attachEvent("onBeforeParse", function(){ // 在此处放置任何自定义逻辑 }); gantt.parse(demo_tasks);