New to Kendo UI for jQuery? Start a free 30-day trial
Index
Updated on Dec 10, 2025
You can configure the initially selected index of the Kendo UI ButtonGroup by using its index property.
You can also select an index through the select method with a Integer argument.
The following example demonstrates how to select a button by its index.
html
<ul id="buttongroup">
<li>Option 1</li>
<li>Option 2</li>
<li>Option 3</li>
</ul>
<script>
$(function(){
var buttongroup = $("#buttongroup").kendoButtonGroup({
index: 0
}).data("kendoButtonGroup");
// ...
// Select a button at index 1.
buttongroup.select(1);
});
</script>