onAfterTaskAdd

fires after the user adds a task to the Gantt chart

void onAfterTaskAdd(string|number id,object item);
idstring|numberthe task id
itemobjectthe task object

Example

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

See also
Back to top