defines the HTML content of resource timeline cells
start_date | Date | start date of the scale cell |
end_date | Date | end date of the scale cell |
resource | object | the resource object |
tasks | Array <Task> | tasks that are assigned to specified resource and overlap start/end dates of the cell |
assignments | array | resource assignments that are assigned to the specified start/end dates of the task |
Available only in PRO Edition
gantt.templates.resource_cell_value = function(start_date, end_date, resource, tasks,
assignments){
return "<div>" + tasks.length * 8 + "</div>";
};
This functionality is available in the PRO edition only.
The "assignments" argument is only awailable when the process_resource_assignments config is enabled.
tasks
argument.the assignments parameter is added in v7.1
Back to top