Search results

CalendarModel

Interface for a class Calendar

Properties

change

EmitType<ChangedEventArgs>

Triggers when the Calendar value is changed.

created

EmitType<Object>

Triggers when Calendar is created.

destroyed

EmitType<Object>

Triggers when Calendar is destroyed.

Triggers when the Calendar is navigated to another level or within the same level of view.

renderDayCell

EmitType<RenderDayCellEventArgs>

Triggers when each day cell of the Calendar is rendered.

calendarMode

string

Gets or sets the Calendar’s Type like gregorian or islamic.

depth

string

Sets the maximum level of view such as month, year, and decade in the Calendar. Depth view should be smaller than the start view to restrict its view navigation.

enablePersistence

boolean

Enable or disable persisting component’s state between page reloads. If enabled, following list of states will be persisted.

  1. value

enableRtl

boolean

When set to true, enables RTL mode of the component that displays the content in the right-to-left direction.

firstDayOfWeek

number

Gets or sets the Calendar’s first day of the week. By default, the first day of the week will be based on the current culture.

isMultiSelection

boolean

Specifies the option to enable the multiple dates selection of the calendar.

locale

string

Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.

max

Date

Gets or sets the maximum date that can be selected in the Calendar.

min

Date

Gets or sets the minimum date that can be selected in the Calendar.

showTodayButton

boolean

Specifies whether the today button is to be displayed or not.

start

string

Specifies the initial view of the Calendar when it is opened. With the help of this property, initial view can be changed to year or decade view.

value

Date

Gets or sets the selected date of the Calendar.

values

Date[]

Gets or sets multiple selected dates of the calendar.

weekNumber

boolean

Determines whether the week number of the year is to be displayed in the calendar or not.