specifies the content of columns that show dates (return Date
values) in grid
date | Date | the date which needs formatting |
task | Task | the task object |
column | string | the name of the column that called the template |
gantt.templates.date_grid = function(date, task, column){
if(task && gantt.isUnscheduledTask(task) && gantt.config.show_unscheduled){
return gantt.templates.task_unscheduled_time(task);
}else{
return gantt.templates.grid_date_format(date);
}
}