enable

Enables or disables the widget.

Parameters

enable Boolean

If set to true the widget will be enabled. If set to false the widget will be disabled.

Setting this property to true does not affect other properties of the NumericTextBox. It applies the .k-disabled CSS class of the wrapper span and sets the aria-disabled property of the input to true.

Example - enable the widget

Open In Dojo
<input id="numerictextbox" disabled="disabled" />
<script>
$("#numerictextbox").kendoNumericTextBox();

var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");
numerictextbox.enable(true);
</script>
In this article