跳到主要内容

onOptionsLoad

Description

在从服务器加载一组选项后立即触发,但在解析它们之前触发

onOptionsLoad: () => void;

Example

gantt.attachEvent("onOptionsLoad", function (){
//在这里编写任何自定义逻辑
});

Details

当调用 updateCollection 或解析带有附加信息的 JSON时,会触发此事件。

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.