hello,
when change a task start_date and end_date,its parent task maybe changed also,its grandparent task maybe changed and so on, its predecessor could changed also, when two tasks is Predecessor relationship,then delete one of task,the link will not exit, and many other scenes, a task happen change ,it will affect other tasks, so how to get changed tasks? thank you !
Hello @fengshichao ,
You can get changing of each task from the onTaskUpdate
event(you also can forbid/allow changing from the onBeforeTaskUpdate
event):
https://docs.dhtmlx.com/gantt/api__gantt_onaftertaskupdate_event.html
Which fires after each task update.
You also can use the onAfterLinkUpdate
:
https://docs.dhtmlx.com/gantt/api__gantt_onafterlinkupdate_event.html
In the case of updating links.
You also can find a full list of gantt events by the following link:
https://docs.dhtmlx.com/gantt/api__refs__gantt_events.html
Kind regards,