0
A
回答
0
也許你可以在sencha wiki上使用像this example這樣的監聽器。
面板與無線電集團:
Ext.create('Ext.form.Panel', {
title: 'RadioGroup Example',
width: 300,
height: 125,
bodyPadding: 10,
renderTo: Ext.getBody(),
items:[{
xtype: 'radiogroup',
fieldLabel: 'Two Columns',
// Arrange radio buttons into two columns, distributed vertically
columns: 2,
vertical: true,
items: [
{ boxLabel: 'Item 1', name: 'rb', inputValue: '1',
listeners: {
change: function (e, t, eOpts) {
...
}
}
},
{ boxLabel: 'Item 2', name: 'rb', inputValue: '2' checked: true},
{ boxLabel: 'Item 3', name: 'rb', inputValue: '3' },
{ boxLabel: 'Item 4', name: 'rb', inputValue: '4' },
{ boxLabel: 'Item 5', name: 'rb', inputValue: '5' },
{ boxLabel: 'Item 6', name: 'rb', inputValue: '6' }
]
}]
});
小例子:on stackoverflow
相關問題
- 1. 如何更改extjs4.1中單選按鈕的boxLabel
- 2. 動態單選按鈕無線電組和視圖不工作
- 3. 無線電組和單選按鈕
- 4. 無線電組未設置爲單選按鈕Android
- 5. 單選按鈕的動態設置
- 6. 如何在jQuery單選按鈕組中設置活動的單選按鈕
- 7. 如何動態設置單選按鈕的'checked'屬性。
- 8. 如何將動態創建的單選按鈕設置爲RadioGroup?
- 9. PHP保存動態無線電按鈕
- 10. Coldfusion中的動態單選按鈕組
- 11. 動態設置單選按鈕活動使用jQuery的移動
- 12. 如何用單選按鈕綁定無線電下拉菜單?
- 13. 動態單選按鈕設置添加列表項的選擇
- 14. 如何設置單選按鈕組的位置
- 15. 如何文本顏色設置爲從所有無線電組中的所有單選按鈕在Java中
- 16. 如何增加無線電組中單選按鈕之間的空間android
- 17. 如何將無線電組添加到表格內的單選按鈕?
- 18. 如何選擇selenium webdriver中的單選按鈕?動態選擇單選按鈕
- 19. 如何將一個無線電按鈕標籤設置爲'checked'?
- 20. JavaScript:取消選中時設置單選按鈕的背景(單選按鈕組)
- 21. 動態無線電選項
- 22. 在Android中動態設置單選按鈕的文本
- 23. 使用ng-repeat設置動態單選按鈕的值
- 24. 在動態創建的字段上設置單選按鈕值
- 25. 如何設置組中的單選按鈕值?
- 26. 通過CFLOOP動態設置單選按鈕狀態
- 27. WatiN:如何檢查單選按鈕組中的單選按鈕
- 28. Mootools的設置單選按鈕選中
- 29. 單選按鈕僅選擇第一個單選按鈕沒有其它無線電按鈕被選擇
- 30. 如何設置單選按鈕的左邊距動態基於API級別
@existdissolve我與setFieldlable tride和SETVALUE它不工作 – mohan