deletes task from project by id
var project2 = ganttChart.getProjectById(2); project2.deleteTask(34);