跳到主要内容

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.