date_grid

specifies the content of columns that show dates (return Date values) in grid

dateDatethe date which needs formatting
taskTaskthe task object
columnstringthe name of the column that called the template

Example

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

Related samples

See also
Back to top