Skip to main content

event_bar_text

Description

Specifies the event's text. Applied to multi-day events only

event_bar_text: (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_bar_text = function(start,end,event){
return event.text;
};

Applicable views: Month view, Timeline 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.