task_class
Description
Specifies the CSS class that will be applied to task bars
task_class: (start: Date, end: Date, task: Task) => string | void;
Parameters
start- (required) Date - the date when a task is scheduled to beginend- (required) Date - the date when a task is scheduled to be completedtask- (required) Task - the task object
Returns
text- (string | void) - a CSS class for the item in question
Example
gantt.templates.task_class = function(start, end, task){return "";};