This topic contains 1 reply, has 2 voices, and was last updated by Avatar Hristofor 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #100677

    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?


    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,

    Smart HTML Elements Team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.