New to Kendo UI for Vue? Start a free 30-day trial

Disabled Dates

The Calendar allows you to disable certain days which are not intended to be selected by the end userfor example, weekends, national holidays, and others.

To disable a date, either:

Setting Arrays

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>

Adding Functions

When you add a function, determine its return value as true for the date that is disabled.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?