Skip to main content

GRID_full_date

info

This functionality is available in the PRO edition only.

Description

Specifies the format of dates in columns with id='date'

GRID_full_date: (start: Date, end: Date, ev: object) => string;

Parameters

  • start - (required) Date - the date when an event is scheduled to begin
  • end - (required) Date - the date when an event is scheduled to be completed
  • ev - (required) object - the event object

Returns

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

Example

scheduler.templates.grid_full_date = function(start,end,event){
if (scheduler.isOneDayEvent(event))
return scheduler.templates.grid_single_date(start);
else
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.