enable

Enables or disables the widget.

Parameters

enable Boolean

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

Example - disable the widget

<div id="segmentedControl"></div>
<script>
$("#segmentedControl").kendoSegmentedControl({
  items: [
    { text: "Option 1", value: "option1" },
    { text: "Option 2", value: "option2" }
  ]
});
var segmentedControl = $("#segmentedControl").data("kendoSegmentedControl");
segmentedControl.enable(false);
</script>
In this article
enable
Not finding the help you need?
Contact Support