task_time

specifies the date period in the header of the lightbox

Parameters

startDatethe date when a task is scheduled to begin
endDatethe date when a task is scheduled to be completed
taskobjectthe task object

Example

gantt.templates.task_time = function(start,end,task){
    return gantt.templates.task_date(start)+" - "+gantt.templates.task_end_date(end);
};

See also
Back to top