week_agenda_event_text

specifies the event's text

Parameters

startDatethe date when an event is scheduled to begin
endDatethe date when an event is scheduled to be completed
eventobjectthe event object
cellDateDatethe date of a day cell that a one-day event or a single occurrence of
the recurring event displays in
posstringthe position of a single occurrence in the recurring event: 'start' - the first occurrence, 'end' - the last occurrence, 'middle' - for remaining occurrences

Available only in PRO Edition

Example

scheduler.templates.week_agenda_event_text = function(start,end,event,cellDate,pos){
    return scheduler.templates.event_date(start_date) + " " + event.text;
};

Applicable views:Week Agenda View
Details

The template requires the week_agenda plugin to be activated.

See also
Back to top