onAfterTaskAdd

fires after the user adds a task to the Gantt chart

void onAfterTaskAdd(string|number id,Task task);
idstring|numberthe task id
taskTaskthe task object

Example

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

See also
Back to top