task_row_class
Description
Specifies the CSS class that will be applied to the row of the timeline area
task_row_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_row_class = function(start, end, task){
return "";
};
Details
Returns the CSS class for the item in question.