View Options
The MutliViewCalendar provides options to configure the currently displayed view.
Active View
To define the first view that the MultiViewCalendar initially renders, use the activeView
property.
The CalendarView
type defines the following possible view options:
month
—Shows the days of the month.year
—Shows the months of the year.decade
—Shows the years of the decade.century
—Shows the decades of the century.
Displaying Other Month Days
The MultiViewCalendar shows the other month days by default.
To change that behavior set the showOtherMonthDays
property to false
.
Week Day Format
By default the MultiViewCalendar displays the week days in a short format. To change the format, set the weekDaysFormat
property. The available options are:
short
(default)—Displays the week days in a short format (e.g., "mo").narrow
—Displays the week days in a narrow format (e.g., "m").abbreviated
—Displays the week days in an abbreviated format (e.g., "mon").