Is there any chance that DHX gantt could provide a method to just update the part of the items in the gantt tree data instead of update the whole tree inside the gantt state management?
Because update the whole tree inside the gantt state management is a really expensive operation, we wanna save that performance consume.
if there is a way to partially update the items that only changed after one operation would be a good approach.
The workflow would be like this:
Gantt component has the old gantt tree data
New Gantt tree data come in from server
Compare (diff) the new tree and old tee, find out what changed, including:
a. items field updated, e.g. name, dates,
b. items deleted
c. items added
d. items reordered
e. items changed a parent.
only update these items, and keep other items unchanged, no need to go through the state calculation again
would be a very efficient approach for updating the gantt data
This would reduce a lot of response time for each operation on gantt chart, especially for those who has really large and really deep leveled data.
Hope you could think about this. thanks!