histogram_cell_class

defines the CSS class which is applied to a cell of the resource panel

start_dateDatestart date of the scale cell
end_dateDateend date of the scale cell
resourceobjectthe resource object
tasksArray <Task>tasks that are assigned to the specified resource and overlap start/end dates of the cell
assignmentsarrayresource assignments that are assigned to the specified start/end dates of the task

Available only in PRO Edition

Example

gantt.templates.histogram_cell_class = function(start_date,end_date,resource,tasks,
    assignments){
    return "";
};

Related samples

Details

This functionality is available in the PRO edition only.

The "assignments" argument is only available when the process_resource_assignments config is enabled.

See also
Change log

the assignments parameter is added in v7.1

Back to top