CalendarProps<T>
Represents the props of the KendoReact Calendar component. The generic argument is passed to the onChange
property and is used as a target in the CalendarChangeEvent
interface.
Name | Type | Default | Description |
---|---|---|---|
ariaDescribedBy? |
|
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message. | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
bottomView? |
|
Defines the bottommost view to which the user can navigate. | |
cell? |
|
Enables the customization or the override of the default Calendar cell (see example). | |
className? |
|
Sets the | |
defaultActiveView? |
|
Sets the default active view of the Calendar. If not set, the Calendar will display the month view. | |
defaultValue? |
|
Sets the default value of the Calendar. | |
disabled? |
|
Determines whether the Calendar is disabled. | |
focusedDate? |
|
Sets the initial focused date of the Calendar. | |
headerTitle? |
|
Enables the customization or the override of the default header title in the Calendar (see example). | |
id? |
|
Sets the | |
max? |
|
Sets the maximum allowed date of the Calendar. Defaults to | |
min? |
|
Sets the minimum allowed date of the Calendar. Defaults to | |
navigation? |
|
Determines if the navigation sidebar will be displayed. | |
navigationItem? |
|
Enables the customization or the override of the default navigation item in the Calendar (see example). | |
smoothScroll? |
|
Toggles the smooth scroll animation on navigation item click. By default, the animation is enabled. | |
tabIndex? |
|
Sets the | |
topView? |
|
Defines the topmost view to which the user can navigate. | |
value? |
|
Sets the value of the Calendar. | |
weekCell? |
|
Enables the customization or the override of the default week-column cell in the Calendar (see example). | |
weekNumber? |
|
Determines if the week number column will be displayed. |
Methods
onBlur | ||||||
---|---|---|---|---|---|---|
Fires each time the Calendar is blurred. | ||||||
|
onChange | ||||||
---|---|---|---|---|---|---|
An event that is called after the value of the Calendar has changed. | ||||||
|
onFocus | ||||||
---|---|---|---|---|---|---|
Fires each time the Calendar is focused. | ||||||
|