Hi,
I would like to stop a autoschedule as soon as we encounter a task whose progress is 100%.
I tried this -
gantt.attachEvent(“onBeforeTaskAutoSchedule”,function(task, startDate, link, predecessor){
if (task.progress == 1) {
return false;
}
return true;
});
it returns false …still the autoschedule doesn’t stop it schedules the task as well as the dependent tasks.
Could you pls help. I need to stop the cascading.
Thanks & Regards,
Tripty