onAfterTaskAdd

작업이 Gantt 차트에 추가된 직후에 트리거됩니다.

void onAfterTaskAdd(string|number id,Task task);
idstring|number작업 ID
taskTask작업 객체

Example

gantt.attachEvent("onAfterTaskAdd", function(id,task){
    //여기에 커스텀 로직 작성
});

See also
Back to top