#100678
Hristofor
Member

Hi Aks26,
Setting the dataSource to a new value will re-render the GanttChart with the new data. There is also a clearTasks method that removes all tasks from the element leaving it empty. There’s also a refresh method that recalculates the size of the GanttChart.
Best Regards,
Christopher
Smart HTML Elements Team
https://www.htmlelements.com