enable

Enable/Disable the DateRangePicker widget.

Parameters

enable Boolean

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

Example - disable DateRangePicker widget

<div id="daterangepicker"></div>
<script>
$("#daterangepicker").kendoDateRangePicker();

var daterangepicker = $("#daterangepicker").data("kendoDateRangePicker");

daterangepicker.enable(false);
</script>

Example - enable DateRangePicker widget

<div id="daterangepicker"></div>
<script>
$("#daterangepicker").kendoDateRangePicker();

var daterangepicker = $("#daterangepicker").data("kendoDateRangePicker");

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