fires after a task was moved to a new vertical position
id | string|number | the id of the task to move |
parent | string|number | the parent id |
tindex | number | the index of the position in the parent branch that the task will be moved to |
// prevent moving to another sub-branch
gantt.attachEvent("onAfterTaskMove", function(id, parent, tindex){
// any custom logic here
});
Note, the event fires in 2 cases: