So i am loading the Gantt chart using some data in my angular component. What I want to do is clear the dataSource property and push in some new elements dynamically. This works but the chart itself does not refresh in the HTML unless I manually reload the window. Is there anything that can help me do what I want to achieve?
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.
Smart HTML Elements Team https://www.htmlelements.com