radiogroup这样定义:
var empID_radio = new Ext.form.RadioGroup({
name: 'CreateEmpFlag',
width: 300,
column: 2,
items: [
{ xtype: 'radio', name: 'CreateEmpFlag',
boxLabel: '自动生成', checked: true, inputValue: 0 },
{ xtype: 'radio', name: 'CreateEmpFlag',
boxLabel: '手动设置(最长20位)', checked: false, inputValue: 1 }
]
});
在ext3.2.1版本下,empID_radio.getValue().inputValue可以取值,在3.4.1版本下 ,获取到的始终是初始化的值,各位大哥大姐知道神马原因吗
ExtJS3.4.1radiogroup取值
var empID_radio = new Ext.form.RadioGroup({
name: 'CreateEmpFlag',
width: 300,
column: 2,
items: [
{ xtype: 'radio', name: 'CreateEmpFlag',
boxLabel: '自动生成', checked: true, inputValue: 0 },
{ xtype: 'radio', name: 'CreateEmpFlag',
boxLabel: '手动设置(最长20位)', checked: false, inputValue: 1 }
]
});
在ext3.2.1版本下,empID_radio.getValue().inputValue可以取值,在3.4.1版本下 ,获取到的始终是初始化的值,各位大哥大姐知道神马原因吗
ExtJS3.4.1radiogroup取值
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货