New to Kendo UI for jQuery? Download free 30-day trial

Disabled ButtonGroup

The ButtonGroup provides options for setting its enabled and disabled state.

To configure the ButtonGroup as initially disabled, use its enable property. The ButtonGroup can also be disabled or enabled with JavaScript by using its enable method with a Boolean argument.

The following example demonstrates how to enable and disable the ButtonGroup.

<ul id="buttongroup">
    <li>Option 1</li>
    <li>Option 2</li>
    <li>Option 3</li>
</ul>

<script>

$(function(){
    var buttongroup = $("#buttongroup").kendoButtonGroup({
        enable: false
    }).data("kendoButtonGroup");
    // ...
    // Enable the ButtonGroup.
    buttongroup.enable(true);
});

</script>

See Also

In this article