rightside_text
Description
Specifies the text assigned to tasks bars on the right side
rightside_text: (start: Date, end: Date, task: Task) => string | number | 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 | number | void) - an HTML text which will be rendered in the gantt
Example
gantt.templates.rightside_text = function(start, end, task){
return "ID: #" + task.id;
};