lightbox_header

specifies the lightbox's header

Parameters

start_dateDatethe date when a task is scheduled to begin
end_dateDatethe date when a task is scheduled to be completed
taskobjectthe task's object

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);
};

Details

Note, if the template isn't specified, the date part of the header will be set according to the task_time template.

See also
Back to top