0
有沒有一種方法可以爲Mutiselect Combobox啓用typeAhead功能?我不需要它在標記字段中。Multiselect combobox with typeahead feature
有沒有一種方法可以爲Mutiselect Combobox啓用typeAhead功能?我不需要它在標記字段中。Multiselect combobox with typeahead feature
不是開箱即用,但您始終可以覆蓋組合框並重新實現onTypeAhead
函數。
感謝亞歷山大的回覆。我試圖覆蓋組合框和覆蓋的initcomponent我已經評論了下面的代碼:if(me.typeAhead && me.multiSelect){ \t \t \t //Ext.raise('typeAhead和multiSelect是互斥選項 - - 請刪除其中一個。'); \t \t} 然而最後me.callParent();被稱爲,它會調用原來的extjs組合,我得到以下錯誤 「typeAhead和multiSelect是互斥選項 - 請刪除其中一個」 – Gaurav
如果我評論me.callParent()然後我得到另一個錯誤插件。 init不是一個函數。你有什麼建議嗎? – Gaurav
'me.typeAhead = false; me.callParent(); me.typeAhead = TRUE'? – Alexander