FullCalendar
Last updated
Was this helpful?
Last updated
Was this helpful?
This Control provides an outlook like calendar.
Setting a date to a calendar control scrolls to that date.
The Calendar supports sub settings to set. You can add resource(s) to the calendar for example:
You can add resources to your calendar by using the setFieldValue comand. To see and use them, you have to enable to resource views in the control view properties.
Resources can be grouped. You need a grouping criteria in your resources and you must tell the calendar the name of this criteria. The order of both operations does not matter.
The width of the resource side panel can be set as well. Can be specified as a number of pixels, or a CSS string value, like "25%".
You can sort the resourceList by a setFiedlValue command as well.
To assing events to resources, set the resourceId property in the DataTransform event like the start or end time.
You can switch to a specific view mode by calling a set value. The following view modes are available, but might be restricted to your control settings.
dayGridMonth
timeGridWeek
timeGridDay
listWeek
resourceTimeline
resourceTimelineWeek
resourceTimeGridDay
You can access different information by using the app.getFieldValue() function.
type: Name of one of the available views (a string).
title: Title text that is displayed at the top of the headerToolbar (such as “September 2009” or “Sep 7 - 13 2009”).
activeStart: A Date that is the first visible day. In month view, this value is often before the 1st day of the month, because most months do not begin on the first day-of-week.
activeEnd: A Date that is the last visible day. Note: This value is exclusive. See how events are are parsed from a plain object for further details.
currentStart: A Date that is the start of the interval the view is trying to represent. For example, in month view, this will be the first of the month. This value disregards hidden days.
currentEnd: A Date that is the end of the interval the view is trying to represent. Note: This value is exclusive. See how events are are parsed from a plain object for further details. For example, in month view, this will be the day after the last day of the month. This value disregards hidden days.
For the full documentation see this: Link