How to get all changed parent tasks when I change child task

Hi,
When I change the estimated time for a quest, the estimated time for that quest’s original level changes automatically. this causes the parent of that parent to change as well… how do I get these parents.
Thank you very much

Hello,

If you want to get all changed tasks after changing others, you can save the data before changing and compare it after the tasks update. You can get the data of the tasks from the serialize method:
serialize Gantt Docs ;
And compare this data with the data after update with the help of onAfterTaskUpdate handler:
onAfterTaskUpdate Gantt Docs ;
Please check the example of how it might be implemented:
DHTMLX Snippet Tool ;

1 Like