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.
Hi,
That's good news. The only question I have is how did nobody else pick this up ? Strange...