Skip to main content

task_unscheduled_time

Description

Specifies the dates of unscheduled tasks

task_unscheduled_time: (task: Task) => string | void;

Parameters

  • task - (required) Task - the task object

Returns

  • text - (string | void) - an HTML text which will be rendered in the grid for the columns with the Date values

Example

gantt.templates.task_unscheduled_time = function(task){
return "";
};

Details

By default, returns an empty string.

If a task is unscheduled, i.e. has the unscheduled:true property in its configuraion object, all its dates will be rendered with empty rows. Check the example below:

In case you need to show some dates for an unscheduled task, you can do it with the help of the date_grid template.