Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy