specifies the lightbox's header
start_date | Date | the date when a task is scheduled to begin |
end_date | Date | the date when a task is scheduled to be completed |
task | Task | the task's object |
gantt.templates.lightbox_header = function(start_date,end_date,task){
return gantt.templates.task_time(task.start_date, task.end_date, task) + " " +
(gantt.templates.task_text(task.start_date, task.end_date, task) || "").substr(0, 70);
};
Note, if the template isn't specified, the date part of the header will be set according to the task_time template.