onBeforeRollupTaskDisplay
Description
Fires before the rollup task is displayed on its parent project
onBeforeRollupTaskDisplay: (taskId: number | string, task: Task, parentId: number | string) => boolean;
Parameters
taskId- (required) number | string - the rollup task idtask- (required) Task - the rollup task objectparentId- (required) number | string - the id of the parent (project) task
Returns
result- (boolean) - defines whether the rollup task will be displayed on its parent project (true) or not (false)
Example
gantt.attachEvent("onBeforeRollupTaskDisplay", function(taskId, task, parentId){
// any custom logic here
return false;
});
Related Guides
Change log
- added in v8.0