随手记在这儿。
2013-7-25
//radio取值/赋值
obj.winfPDtlShowType = new Ext.form.RadioGroup({
id : 'DtlShowType',
fieldLabel: '显示类型',
columns: 'auto',
// disabled: true,
items: [
{boxLabel: '表格', name: 'DtlShowType', inputValue: 'grid'},
{boxLabel: '图表', name: 'DtlShowType', inputValue: 'chart', checked: true},
{boxLabel: '多系列图表', name: 'DtlShowType', inputValue: 'mschart'}
]
});
取值 Ext.getCmp("DtlShowType").getValue().inputValue
赋值 Ext.getCmp("DtlShowType").setValue(_record.get('DtlShowType'));