我使用代码创建了RadioGroup
var radios = new Ext.form.RadioGroup({
columns : 2,
items: [
{boxLabel: 'E-Mail', name: 'communication', inputValue: 1},
{boxLabel: 'Nagios', name: 'communication', inputValue: 2}
]
});
Run Code Online (Sandbox Code Playgroud)
我想检查某个事件上的一个单选按钮.怎么做?我试过用:
radios.setValue(true, false);
Run Code Online (Sandbox Code Playgroud)
但它不起作用.