lightbox_header
Description
Specifies the lightbox's header
lightbox_header: (start_date: Date, end_date: Date, task: Task) => string;
Parameters
start_date- (required) Date - the date when a task is scheduled to beginend_date- (required) Date - the date when a task is scheduled to be completedtask- (required) Task - the task's object
Returns
text- (string) - an HTML text for rendering in the gantt
Example
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);
};