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

GRID_date

Description

Устанавливает дату, отображаемую в заголовке представления

GRID_date: (start: Date, end: Date) => string;

Parameters

  • start - (required) Date - начальная дата представления
  • end - (required) Date - конечная дата представления

Returns

  • text - (string) - html текст для отображения в scheduler

Example

//default definition
scheduler.templates.grid_date = function(start, end){
return scheduler.templates.day_date(start)
+ " - "
+ scheduler.templates.day_date(end);
};

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.