Перейти к основному содержимому

clearAll

Description

Удаляет все задачи и дополнительные элементы (включая маркеры) из диаграммы Ганта

clearAll: () => void

Example

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

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

Details

Примечание: метод вызывает событие onClear.

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.