FormPanel内でxtypeを使用してextJS4でradioGroupを作成しています。ラジオがチェックされるとすぐにテキストフィールドを有効/無効にしようとしています。
{
xtype: 'radiogroup',
fieldLabel: 'Enable / Disable ',
columns: 2,
vertical: true,
items: [
{boxLabel: 'Enable', name: 'formtype', inputValue: '1'},
{boxLabel: 'Disable', name: 'formtype', inputValue:'2',checked:true},
]
}
チェック/クリックイベントのリスナーをどこに追加するか混乱しています。よろしくお願いします。