Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #109171
    faraaz
    Participant

    Do we have any option to refresh the ganttchart if the new data is passed into it, without reloading the whole page? As we are trying to show new data from selecting a plan/task from dropdown. We have used the refresh() method also to refresh the ganttchart, but that is not working.

    #109178
    ivanpeevski
    Participant

    Hi faraaz,

     

    The ganttchart should reload automatically if its dataSource is set to a new value. Here is an example – codepen

    Another possible approach is to use clearTasks(), followed by insertTask() for the new tasks.

     

    Best Regards,
    Ivan Peevski
    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.