数据在页面上显示后立即触发
gantt.attachEvent("onDataRender", function(){ alert("数据已在页面上渲染完成") }); gantt.init("gantt_here"); gantt.parse(demo_tasks);