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

clearAll

Description

Удаляет все задачи и дополнительные элементы (например, маркеры) из Gantt chart

clearAll: () => void

Example

// перезагружает данные в 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.