跳到主要内容

onTaskClosed

Description

当一个分支被关闭时触发

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

Parameters

  • id - (required) 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.