跳到主要内容

onTaskOpened

Description

当分支被打开时触发

onTaskOpened: (id: string | number) => void;

Parameters

  • id - (必填) string | number - 分支 ID

Example

gantt.attachEvent("onTaskOpened", function(id) {
// 在这里插入您的自定义逻辑
});
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.