Edit this page

enable

Enables or disables the widget.

Parameters

enable Boolean (optional)

Whether the widget should be enabled (true) or disabled (false). If not specified, the method will enable the widget.

Example - disable the color picker

<div id="colorpicker"></div>
<script>
$("#colorpicker").kendoColorPicker();
var colorpicker = $("#colorpicker").data("kendoColorPicker");
colorpicker.enable(false);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy