Skip to main content

quick_info_date

Description

Specifies the date of the pop-up edit form

quick_info_date: (start: Date, end: Date, task: Task) => string;

Parameters

  • start - (required) Date - the date when a task is scheduled to begin
  • end - (required) Date - the date when a task is scheduled to be completed
  • task - (required) Task - the task object

Returns

  • text - (string) - html text which will be rendered in the gantt

Example

gantt.templates.quick_info_date = function(start, end, task){
return gantt.templates.task_time(start, end, task);
};

Details

note

This template is defined in the Quick Info extension, so you need to activate the quick_info plugin.