fires after the user deletes a task
gantt.attachEvent("onAfterTaskDelete", function(id,task){ //any custom logic here });