clearAll

removes all tasks and additional elements (including markers) from the Gantt chart

void clearAll();

Example

// reloads data in the Gantt chart
gantt.load("url1");
 
gantt.clearAll(); gantt.load("url2");

Details

Note, the method invokes the onClear event.

See also
Back to top