{
xtype : 'radiogroup',
hidden: true,
name: 'funconeparam',
fieldLabel: '<font color=red>* </font>第一层函数参数',
layout: 'hbox',
defaults: {
flex: 1
},
items: [
{
boxLabel : '同等行',
name : 'param1',
inputValue: '同等行'
}, {
boxLabel : '前n期',
name : 'param1',
inputValue: '前n期'
}
],
listeners: {
change: function( thiz, newValue, oldValue, eOpts ){
var val = newValue.param1;
var cm1 = thiz.up('form').down('radiogroup[name=functwoparam]');
if(val == '同等行'){
cm1.items.get(1).setValue(true);
}else{
cm1.items.get(0).setValue(true);
}
}
}
}
extjs radiogroup 动态选中
最新推荐文章于 2017-12-07 18:49:00 发布