Views arrange appointments in different layouts. You can specify the view type or allow users to switch between several view types.
The DayView
displays appointments for a specific date.
The Scheduler arranges appointments from top to bottom. If their time intervals overlap, their widths decrease and they are placed next to each other.
The time scale's duration is 24 hours. To change this value, define the startDayHour
and endDayHour
in the view plugin. In the following example, the time scale starts at 8 a.m. and ends at 1 p.m.
The WeekView
displays appointments for a week. Appointments are arranged similarly to the day view.
You can use the WeekView plugin's excludedDays
property to exclude specific days from the week view. For example, to implement a work week view, set this property to [0, 6]
.
The MonthView displays appointments for a month.
The Scheduler arranges appointments left to right. An appointment's size depends on its duration in days. Appointments that last less than a day occupy the entire day cell.
The time scale and all-day panel are hidden on this view.