跳到主要内容

onTaskOpened

Description

当分支被打开时触发

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

Parameters

  • id - (required) string | number - 分支的标识符

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.