Creates a FullCalendar widget which can be used for displaying events over a period of time.
- `agendaAllDaySlot`
bool
Determines if the "all-day" slot is displayed at the top of the calendar.
When hidden with false, all-day events will not be displayed in agenda views.
- `allDayColumn`
bool
The column from the DataSource which defines if the event is shown in the “all-day” section.
If true the time text is not displayed with the event.
- `as`
string
The name of the variable to be registered for each row. For example, as="myvar" will let you reference $myvar inside the control.
- `dayMaxEvents`
int
Caps how many events a dayGrid (month) cell shows before collapsing the remainder into a "+N more" link, which opens a popover listing the rest.
Must be a number — FullCalendar's boolean form (limit by cell height) does nothing with this control's automatic height.
- `displayEventTime`
bool
Whether or not to display the text for an event’s date/time.
- `endDateColumn`
string
The column from the DataSource which defines the end dates of the events
- `eventDidMount`
string
JS event 'eventDidMount'
- `eventDisplay`
string
How events render in dayGrid (month) views.
By default FullCalendar renders timed events in month cells as "dot" list-items, which carry no background colour — calendars that colour-code events lose that colour in month view. Set to block to render timed events as solid colored blocks instead.
Possible values:
auto,block,list-item,background,inverse-background,none
- `eventRender`
string
JS event 'eventRender'
- `headerButtons`
string
Sets the header buttons on the right
'timeGridDay,timeGridWeek,listMonth'. Empty removes the view buttons, including the resource views otherwise appended when Resources is set — for pages that switch views from their own controls via changeView().
- `headerCenter`
string
Header items in the centre, e.g. 'today prev title next' to keep the navigation beside the date
- `headerLeft`
string
Header items on the left, in FullCalendar headerToolbar syntax (commas group buttons, spaces separate them)
- `height`
string
Height
Sets the height of the element. The default units are pixels. include the percentage symbol % to user percentage values.
- `hiddenDays`
string
Days of the week to leave out of the multi-day views, as a comma separated list of day numbers (0 = Sunday ... 6 = Saturday) — e.g. 0,6 hides the weekend so the remaining day columns widen.
Single-day views ignore it: FullCalendar can't render a hidden day, so Today and prev/next would skip to the next shown day. Ignored entirely if it would hide all seven days.
- `id`
string
(Required) Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid') or in the server DOM using [? $myid ?] or [? $('myid') ?]).
- `initialView`
string
The initial view when the calendar loads
Default value = dayGridMonth.
Possible values:
dayGridMonth,dayGridWeek,dayGridDay
timeGridWeek,timeGridDay
listYear,listMonth,listWeek,listDay
- `mobileInitialView`
string
The view to switch to when the viewport is mobile-sized (< 768px wide).
Applied automatically on page load, only when the resolved initial view is dayGridMonth and there is no saved view state. Pass an empty string to disable the mobile auto-switch entirely.
Default value = listMonth.
Possible values (same as InitialView):
dayGridMonth,dayGridWeek,dayGridDay
timeGridWeek,timeGridDay
listYear,listMonth,listWeek,listDay
- `noControls`
bool
Whether or not to show controls to change the date shown of the calendar
- `onEventDrop`
string
JS event 'EventDrop'
- `onEventResize`
string
JS event 'EventResize'
- `resourceTitle`
string
Full calendar resource title
- `resources`
string
Full calendar resource data
- `slotMaxTime`
int
Determines the first hour/time that will be displayed, even when the scrollbars have been scrolled all the way up.
This can be a number like 22 (which means 10pm), a string like '22:30' (which means 10:30pm) or a string like '10:30pm'.
- `slotMinTime`
int
Determines the first hour/time that will be displayed, even when the scrollbars have been scrolled all the way up.
This can be a number like 5 (which means 5am), a string like '5:30' (which means 5:30am) or a string like '5:30am'.
- `startDateColumn`
string
The column from the DataSource which defines the start dates of the events
- `timeFormat`
string
Controls how event times are displayed in the calendar. Accepts a preset keyword or a JSON-encoded FullCalendar format object.
Presets:
short — e.g. "8:30pm" (lowercase, no space — best for fixing the narrow-cell "8:30p" truncation)
lowercase — e.g. "8:30 pm" (lowercase, with space — more readable in wider cells)
24h — e.g. "20:30"
Any other string is parsed as JSON and passed to FullCalendar's eventTimeFormat option. Invalid JSON is ignored.
- `uRLColumn`
string
The column from the DataSource which defines an on click URL
- `width`
string
Width
Sets the width of the element. The default units are pixels. include the percentage symbol % to user percentage values.