specifies the text assigned to tasks bars on the left side
start | Date | the date when a task is scheduled to begin |
end | Date | the date when a task is scheduled to be completed |
task | object | the task object |
gantt.templates.leftside_text = function(start, end, task){
return task.duration + " days";
};