Skip to main content

onAfterTaskDelete

Description​

Fires after the user deletes a task

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

Parameters​

  • id - (required) string | number - the task id
  • task - (required) Task - the task object

Example​

gantt.attachEvent("onAfterTaskDelete", function(id,task){
//any custom logic here
});
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.