跳到主要内容

onTaskClosed

Description

当分支已关闭时触发

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

Parameters

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

Example

gantt.attachEvent("onTaskClosed", function(id) {
alert(`您已关闭了ID为${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.