我有一个组合框,可以根据特定条件启用和禁用组合框。组合框在IE禁用时消失Extjs
reportTypCombo: new Ext.form.ComboBox({
id: 'reportTyp',
name: 'reportTyp',
valueField: 'value',
displayField: 'value',
typeAhead: true,
fieldLabel: 'Type',
allowBlank: false,
forceSelection: true,
triggerAction: 'all',
store: ReportManager.Form.Stores.typeComboStore,
mode: 'local',
lastQuery: '',
listeners: {
expand: function(combo) {
.....
},
select: function(combo, record) {
....
},
change:function(combo, newValue){
....
}
}
当我打电话
reportTyp = form.findById('reportTyp');
reportTyp.setDisabled(false);
在IE中消失。
请指导我。
我试过链接http://www.sencha.com/forum/showthread.php?84452-Combobox-disappears-on-disable-in-IE-7但无法解决它。
哪个IE和ExtJS的版本是你的工作? – netemp 2011-12-20 08:52:07
我正在使用3.3.1 – Rohit 2011-12-20 11:11:53
做'reportTyp.enable()'工作吗? – JamesHalsall 2011-12-21 12:51:20