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

GRID_single_date

Description

Определяет, как отображаются даты в колонках с id='start_date' или id='end_date'

GRID_single_date: (date: Date) => string;

Parameters

  • date - (required) Date - дата, которую необходимо отформатировать

Returns

  • text - (string) - html текст, используемый для рендеринга scheduler

Example

scheduler.templates.grid_single_date = function(date){
return scheduler.templates.day_date(date)+" "+this.event_date(date);
};

Applicable views: Grid view

Details

примечание

Этот шаблон работает при включенном плагине grid_view.

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.