Skip to main content

agenda_text

Description

Specifies the text in the second column of the Agenda view

agenda_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 object

Returns

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

Example

scheduler.templates.agenda_text = function(start,end,ev){
return ev.text;
};

Applicable views: Agenda view

Details

note

The template requires the agenda_view plugin to be activated.

Note, if the agenda_text template isn't specified, the 'd-m-y' part of the date will be set according to the day_date template.

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.