enable

Enables or disables the widget.

Parameters

enable Boolean

A boolean flag that indicates whether the widget should be enabled or disabled.

Example

<div data-role="view">
  <a data-role="button" data-click="enable">Enable</a>
  <ul id="btnGroup" data-role="buttongroup" data-enable="false">
    <li>Option 1</li>
    <li>Option 2</li>
    <li>Option 3</li>
  </ul>
</div>

<script>
var app = new kendo.mobile.Application();

function enable() {
    $("#btnGroup").data("kendoMobileButtonGroup").enable(true);
}
</script>
In this article