Hello
In my gantt chart I have some tasks that I don’t want to display to a determined user for example, so I have the following piece of code to handle that
gantt.attachEvent("onBeforeTaskDisplay", function(id, task){
if (some condition){
return false;
}
return true;
})
Problem is, when using this method, the tasks still does count as an existing task, thus having a WBS code set, resulting on the following issue. When I add a new task, it assumes a WBS code that doesn’t correspond to what the user is viewing, showing a number higher than the last visible task.
Is there a way to overcome this behavior?