quick_info_class

specifies the CSS class that will be applied to the pop-up edit form

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

Example

gantt.templates.quick_info_class = function(start, end, task){ 
    return task.type == gantt.config.types.milestone ? "milestone_popup" : "";
};

Details

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

See also
Back to top