2011-12-20 18 views
2

特定の条件に基づいて有効化/無効化するコンボボックスがあります。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){ 
       .... 
      } 
     } 

私はそれはIEで消え

reportTyp = form.findById('reportTyp'); 
reportTyp.setDisabled(false); 

呼び出します。

私をご案内ください。

私はリンクhttp://www.sencha.com/forum/showthread.php?84452-Combobox-disappears-on-disable-in-IE-7を試しましたが、解決できませんでした。

+0

extjsにIDによるコンポーネントを必要として取得するには? – netemp

+0

私は3.3.1を使用しています – Rohit

+0

'reportTyp.enable()'は動作しますか? – JamesHalsall

答えて

1

私は過去にこの問題を抱えていましたが、それを解決したのはページからdoctypeを削除することでした。 タイヤを持っていますか?

0

使用Ext.getCmp('reportType').setDisabled(false);

uset ext.getCmp()機能は、作業しているIEとのExtJSのバージョン

関連する問題