CalendarModel
Interface for the Calendar class.
Properties
calendarMode CalendarType
Specifies the mode of the calendar.
Default: Gregorian
cssClass String
Specifies CSS classes to customize the appearance of the control.
Default: ""
dayHeaderFormat DayHeaderFormat
Specifies the format of the day that is displayed in the header.
Default: Short
enabled Boolean
Specifies whether the control is enabled or disabled, disabled will prevent user interaction.
Default: true
enableRtl Boolean
Specifies whether to render the control in right to left direction.
Default: false
enableState Boolean
Specifies whether to persist the state of the control between page loads.
- value
Default: false
firstDayOfWeek Number
Specifies the calendar’s first day of the week.
Default: 0
keyConfigs {:}
Specifies the key configuration to customize the keyboard shortcuts.
Default: {}
locale String
Specifies the culture and localization value for this control, overriding the globally defined value.
Default: en-US
max Date
Specifies the maximum allowed date that can be selected in the calendar.
Default: 2099, 12, 31
min Date
Specifies the minimum allowed date that can be selected in the calendar.
Default: 1900, 01, 01
selectMultiple Boolean
Specifies the selected date values for the calendar.
Default: False
serverTimezoneOffset Number
Specifies the server time zone offset that will be used when processing dates. By default, the date will be processed vase on the system time zone.
Default: null
showTodayButton Boolean
Specifies whether to show the today button or not.
Default: true
start CalendarView
Specifies the starting view that will be shown when the calendar is rendered.
Default: Month
value Date
Specifies the selected date values for the calendar.
Default: null
values Date[]
Specifies the selected date values for the calendar when the selectMultiple is enabled.
Default: null
view CalendarView
Specifies the maximum view level of the calendar. To restrict the view navigation, ensure the view is smaller than the start view.
Default: Month
weekNumber Boolean
Specifies whether the week number of the year will be displayed in the calendar or not.
Default: false
weekRule WeekRule
Specifies the rule for defining the first week of the year.
Default: FirstDay