Skip to main content

event_header

Description

Specifies the event's header

event_header: (start: Date, end: Date, event: any) => 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
  • event - (required) object - the event's object

Returns

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

Example

scheduler.templates.event_header = function(start,end,ev){
return scheduler.templates.event_date(start)+" - "+
scheduler.templates.event_date(end);
};

Applicable views: Day view, Week view, Units 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.