title | page_title | description | slug | canonicalLink | position |
---|---|---|---|---|---|
Disabled Dates |
Disabled Dates - Calendar - Kendo UI for Vue |
Disable certain dates that are rendered by the Kendo UI Calendar wrapper for Vue. |
disableddates_calendar_wrapper |
2 |
The Calendar allows you to disable certain days which are not intended to be selected by the end user—for example, weekends, national holidays, and others.
To disable a date, either:
When you set an array, list the days that need to be disabled by using the first letters from their names in English.
<kendo-calendar :disable-dates='["we", "th"]'></kendo-calendar>
When you add a function, determine its return value as true
for the date that is disabled.
{% meta height:350 %} {% embed_file calendar/disabled/main.vue preview %} {% embed_file calendar/disabled/main.js %} {% endmeta %}