Gantt Data Source not Always Reflecting Changes with Drag and Drop

I have a very frustrating situation here.  I'm trying to incorporate the Gantt chart in my project, however, I have issues with the data source not updating.  I tried to replicate the issue outside of my project and I think I've succeeded doing so by forking one of your examples:

https://stackblitz.com/edit/3yw3dq?file=index.ts

The code contains a function which "flattens" the data source in order to include all child tasks and parent tasks in the same dimension.  Any interaction will output the count of the items in the data source.  Below you can see an example output by dragging and dropping items:




As you can see the data source started with 12 items.  After the last edit it dropped to 11.  I'm not exactly sure what kind of "drag and drop" causes the items to disappear.  However, it seems like dropping them in-between other items normally does the trick.  But not always.  This is so confusing and frustrating.

What obviously happens is when the user saves the data and opens the project again some of the tasks are not there anymore.

In order to replicate the issue you will have to drag and drop items on-top and in-between until you notice items disappeared.  It can take a few tries before it happens.

I will appreciate assistance on this as I am unable to use your Gantt library if this is the behaviour.  I've spent a considerable amount of time developing the solution and I need to find a solution for this.




4 Replies

LA Lokesh Arjunan Syncfusion Team January 18, 2022 04:01 PM UTC

Hi Ceds, 
  
Yes, the reported issue has been replicated. We have logged a bug report for this. You can track the status of the issue from the below feedback link. The issue will be fixed in the weekly patch release scheduled on 27th January 2022. Until then we appreciate your patience. 
  
  
Regards, 
Premkumar S  



CE ceds January 18, 2022 04:20 PM UTC

Hi,

That's good news.  The only question I have is how did nobody else pick this up ?  Strange...



PP Pooja Priya Krishna Moorthy Syncfusion Team January 20, 2022 12:48 PM UTC

Hi ceds, 
 
We already noticed this  issue and logged a feedback report for this. We have scheduled to move this fix in upcoming patch release. 
 
Regards, 
Premkumar S 



PP Pooja Priya Krishna Moorthy Syncfusion Team January 27, 2022 10:28 AM UTC

Hi Ceds, 
 
We are glad to announce that the reported issue “ gantt-data-source-not-always-reflecting-changes-with-drag-and-drop”  has been fixed in version 19.4.47. Please contact us for further as for further assistance. 
 
 
Regards, 
Premkumar S 


Loader.
Up arrow icon