enable

Enable/Disable the DatePicker widget.

Parameters

enable Boolean

The argument, which defines whether to enable/disable the DatePicker.

Example - disable DatePicker widget

<input id="datepicker" />
<script>
$("#datepicker").kendoDatePicker();

var datepicker = $("#datepicker").data("kendoDatePicker");

datepicker.enable(false);
</script>

Example - enable DatePicker widget

<input id="datepicker" />
<script>
$("#datepicker").kendoDatePicker();

var datepicker = $("#datepicker").data("kendoDatePicker");

datepicker.enable(true);
</script>
In this article