deletes the specified task
id | string | number | the task's id |
gantt.addTask({
id:10,
text:"Project #1",
start_date:"02-09-2013",
duration:28
});
gantt.deleteTask(10);
The method invokes the onBeforeTaskDelete and onAfterTaskDelete events.