Skip to main content

GRID_single_date

info

This functionality is available in the PRO edition only.

Description

Specifies the format of dates in columns with id='start_date' or id='end_date'

GRID_single_date: (date: Date) => string;

Parameters

  • date - (required) Date - the date which needs formatting

Returns

  • text - (string) - html text for rendering in the scheduler

Example

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

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.