How to get changed tasks

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):
Which fires after each task update.

You also can use the onAfterLinkUpdate:
In the case of updating links.

You also can find a full list of gantt events by the following link:

Kind regards,