Skip to main content

clearAll

Description

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

clearAll: () => void

Example

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

gantt.clearAll(); /*!*/
gantt.load("url2");/*!*/

Details

Note, the method invokes the onClear event.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.