New to KendoReact? Learn about KendoReact Free.
Dates
The Calendar enables you to set the behavior of its dates.
You can apply either of the following approaches:
- Setting the selected dates,or
- Setting the focused dates.
Setting the Selected Date
By default, the selected date is not set and the Calendar displays only the focused date. To define the selected date, use the value
property.
Change Theme
Theme
Loading ...
The Calendar supports only single date selection. To use multiple dates and date range selection. You can utilize the MultiViewCalendar
. For more information refer to the MultiViewCalendar Date Selection
article.
Setting the Focused Date
The Calendar always displays a focused date and, by default, the focused date is today's date. To change the focused date, use the focusedDate
property by setting it to a specific Date
value. The Date
value has to be a valid JavaScript Date
object.
Change Theme
Theme
Loading ...