New to Kendo UI for jQueryStart a free 30-day trial

Select

methods

Select a Button.

Note: Starting from R3 2020 release, calling the select() method will no longer trigger the select event. That is the expected by design behavior of the widget. If you need to trigger the select event upon the method call, you should do that manually by calling the buttongroup.trigger('select').

Parameters:lijQuery | Number

LI element or index of the Button.

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


<script>
    var buttongroup = $("#buttongroup").kendoButtonGroup().data("kendoButtonGroup");

    // selects by jQuery object
    buttongroup.select(buttongroup.element.children().eq(0));
    // selects by index
    buttongroup.select(1);
</script>
Not finding the help you need?
Contact Support