templates
Description
Defines formatting templates for dates, titles, tooltips in the Gantt chart
templates: GanttTemplates
Example
//specifies the format of the date in the 'Start Time' column of the table
gantt.templates.date_grid = function(date){
return gantt.date.str_to_date(gantt.config.date_grid);
};
Details
The properties of the templates object are described in a separate chapter of the root API page "Gantt API: Templates".
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.