跳到主要内容

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.