私は単純な RadioGroup クラスを持っています:
TestRadioGroup = Ext.extend ( Ext.form.RadioGroup, {
fieldLabel: 'テスト',
リスナー: {
変更: 関数(el,val) {
アラート (値);
}
}、
コンストラクタ: function(config) {
this.items = [];
this.items.push ( {boxLabel: 'Test1', name: 'test', inputValue: 2 } );
this.items.push ( {boxLabel: 'Test2', name: 'test', inputValue: 1 } );
this.items.push ( {boxLabel: 'Test',name: 'test', inputValue: 0 } );
// fireEvent('change')
TestRadioGroup.superclass.constructor.call(これ);
}
});
したい
fireEvent('変更')アイテムのこのinputValue 1.それを行う方法は?