Перейти к основному содержимому

templates

Description

Определяет форматы шаблонов для дат, заголовков и подсказок в диаграмме Ганта

templates: GanttTemplates

Example

//определяет, как дата отображается в колонке 'Start Time' таблицы
gantt.templates.date_grid = function(date){
return gantt.date.str_to_date(gantt.config.date_grid);
};

Details

Свойства объекта templates описаны в отдельной главе на главной странице API: «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.