Deletes a task from the Gantt chart and updates the view.
DayPilot.Gantt.tasks.remove(task);
Availability of this API item in DayPilot editions: