Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Gantt › 'Refresh' Gantt Chart › Reply To: 'Refresh' Gantt Chart
		March 18, 2020 at 10:39 am
		
		#100678
		
		
		
	
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