onBeforeRollupTaskDisplay

fires before the rollup task is displayed on its parent project

boolean onBeforeRollupTaskDisplay(number|string taskId,object task,number|string parentId);
taskIdnumber|stringthe rollup task id
taskobjectthe rollup task object
parentIdnumber|stringthe id of the parent (project) task
booleandefines 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;
});

See also
  • Articles
  • Change log

    added in v8.0

    Back to top