The tasks.remove() method deletes a task from the Gantt chart and updates the view.
DayPilot.Gantt.tasks.remove(task)
task (DayPilot.Task) - object to remove
task
gantt.tasks.remove(task);
DayPilot.Task Class
DayPilot.Gantt Class
Availability of this API item in DayPilot editions: