onAfterTaskDelete

fires after the user deletes a task

void onAfterTaskDelete(string|number id,Task task);
idstring|numberthe task id
taskTaskthe task object

Example

gantt.attachEvent("onAfterTaskDelete", function(id,task){
    //any custom logic here
});

See also
Back to top