We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Vue 17 beta changing dynamically Gantt dataSource doesn't refresh the control

Thread ID:





143360 Mar 15,2019 02:51 PM UTC Apr 8,2019 11:15 AM UTC Vue 5
Tags: Gantt Chart
Asked On March 15, 2019 02:51 PM UTC

I'm using the new Gantt control in Vue beta 17.1.32 like this:

  <ejs-gantt ref='gantt' 
        dateFormat="dd/MM/yyyy hh:mm"
        height = "100%"
        durationUnit= "Hour"
        :timelineSettings= "timelineSettings"
        :dayWorkingTime= "dayWorkingTime">

Initially works fine but if later I reload the data and changing the events the control doesn't refresh and the new data is not displayed.
I tried assigning the events with a new json array or using a DataManager as dataSource and executing a new query but none of them worked.

If I use a grid with the same dataSource it works and the new data is show in the grid

I'm doing something wrong or it's a bug?


Jayakumar Duraisamy [Syncfusion]
Replied On March 19, 2019 05:40 AM UTC

Hi Jaume, 
Greeting from Syncfusion support. 
We would like to thank you for using our new Gantt component in EJ2. We have analyzed your reported query and dynamic updating the data source support not available in our EJ2 Gantt beta version, but it will be available in our Volume 1 2019 main release which is expected to roll-out at the end of March 2019. 
Please let us know, if you need further assistance. 
Jayakumar D 

Mydeen S N [Syncfusion]
Replied On April 4, 2019 01:30 PM UTC

Hi Jaume, 
We regret the inconvenience caused. 
We are working on this feature support for updating the Gantt’s data source dynamically, as we need to ensure the support in multiple use cases, we need more time for the implementation. We are sure that we will implement this support for updating the data source dynamically and will include this feature in our upcoming Volume 1 2019, service pack 1 release which is expected to be available on mid of May,2019. 
We have also created a feedback regarding this support, you can track it using the below link, 
Please let us know, if you need further assistance. 

Mydeen S N 

Replied On April 5, 2019 07:09 AM UTC

I'm using v-if to rerender the Gantt control destroying and recreating the control when I have new data. 
It's inefficient but meanwhile until we don't have the functionallity available it works

Mydeen S N [Syncfusion]
Replied On April 8, 2019 11:15 AM UTC

Hi Jaume, 
Thanks for the update. We will update you once the  volume 1, 2019 Service Pack 1 get released. 
Mydeen S N 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon