跳到主要内容

onBeforeDataRender

Description

在数据展示到页面之前触发

onBeforeDataRender: () => void;

Example

gantt.attachEvent("onBeforeDataRender", function(){
////这里可以添加任何自定义逻辑
});

gantt.init("gantt_here");
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.