Currently we are sending the JSON data to the ProjectModel using loadInlineData and using our own engine calculations to update the JSON such that whenever a change is made, we generate the new JSON and replace the ProjectModel. The downside with this approach is that there is a lot of waiting time for any change.
Is it possible to compare the changes between the 2 JSON objects and only apply the changes rather than the whole project?
Thanks for the reply, The solution is working quite well, but we are facing the same problem as in this post: viewtopic.php?f=51&t=15922
I have set repopulateOnDataset : false, and the error still persists.
On checking gantt.umd.js, I found that the property 'repopulateOnDataset' is set as 'repopulateOnDataSet' (Capital "S"). Updating this property prevented the errors.
repopopulateDatset.png (407.57 KiB) Viewed 1876 times
After changing this, syncDataOnLoad works very well for taskStore: