deletes a task calendar by its id
id | string | number | the id of the calendar |
// adding a calendar
gantt.addCalendar({
id:"custom",
worktime: {
hours: [8, 17],
days: [ 1, 1, 1, 1, 1, 1 ,1]
}
});
// deleting a calendar
gantt.deleteCalendar("custom");
added in version 4.2