私はextjs 3で作業しています。初めてウィズカードを開くと、すべてのラジオグループが正しく表示されます。しかし、ウィズカードを閉じて再度開くと、すべてのラジオグループが表示されません。
xtype: 'radiogroup',
id: 'industry_select_type',
fieldLabel: 'Select By',
columns: 1,
items: [{
boxLabel: 'None',
name: 'industry_select_type',
inputValue: '1', // do not set this field to 0, otherwise the radiogroup will not work properly.
checked: true,
listeners: {
check: function (cb, checked) {
toggleCheck(Ext.getCmp('indTree').root, false);
}
}
}, {
boxLabel: 'All Industries',
name: 'industry_select_type',
inputValue: '2',
listeners: {
check: function (cb, checked) {
if (checked) {
Ext.getCmp('indTree').hide();
}
}
}
}, {
boxLabel: 'Specific Industries',
name: 'industry_select_type',
inputValue: '3',
listeners: {
check: function (cb, checked) {
if (checked) {
Ext.getCmp('indTree').show();
} else {
Ext.getCmp('indTree').hide();
}
}
}
}]