onTaskIdChange

fires when the id of a task is changed

void onTaskIdChange(string|number id,string|number new_id);
idstring|numberthe current task's id
new_idstring|numberthe new task's id

Example

gantt.attachEvent("onTaskIdChange", function(id,new_id){
    //any custom logic here
});

See also
Back to top