Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.4 KB

File metadata and controls

41 lines (28 loc) · 1.4 KB
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

Disabled Dates

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:

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.

{% meta height:350 %} {% embed_file calendar/disabled/main.vue preview %} {% embed_file calendar/disabled/main.js %} {% endmeta %}

Suggested Links