Skip to main content

GRID_date

info

This functionality is available in the PRO edition only.

Description

Specifies the date in the header of the view

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

Parameters

  • start - (required) Date - the start date of the view
  • end - (required) Date - the end date of the view

Returns

  • text - (string) - html text for rendering in the 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

note

The template requires the grid_view plugin to be activated.

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.