2015-08-20 12:52 | 题主 | ||||||||
|
如何设置RadioGroup中的radio被选中? 如何根据后台传来的值设置RadioGroup中的某个radio被选中?试了好多JS和EXTJS的方法都不行,求大神告知! |
2015-08-21 14:01 | #1 | ||||||||
|
Radiogroup的items属性为radio列表 items[0]即首个radio radio的check操作: Sets either the checked/unchecked status of this Radio, or, if a string value is passed, checks a sibling Radio of the same name whose value is the value specified. ParametersReturnsFiresOverrides: Ext.form.field.Checkbox.setValue |