文檔半島外圍網上直營>>telerik中文文檔>>索引
                索引
您可以通過使用Kendo UI ButtonGroup的index屬性來配置最初選擇的索引。
還可以通過帶有Integer參數的select方法選擇索引 。
下面的示例演示如何根據索引選擇按鈕。
<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>                
            
 QQ交談
QQ交談 在線咨詢
在線咨詢 
                 
                
 渝公網安備
            50010702500608號
渝公網安備
            50010702500608號
             
            
 客服熱線
客服熱線