enable

Enables or disables the widget.

Parameters

enable Boolean

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

    <div data-role="view">
      Enable
      <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