跳到主要内容

onAfterTaskUpdate

Description

在用户更新任务后触发

onAfterTaskUpdate: (id: string | number, task: Task) => void;

Parameters

  • id - (required) string | number - 任务 ID
  • task - (required) Task - 任务对象

Example

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