PDA

View Full Version : combobox - to make an item to appear at top always



Samajit
10 Nov 2009, 12:52 AM
I am using an ext js editable combo box. Whenever user types some text in the combo box the filtered list is appearing if there is any match. But I want the one option of my combo box to always appear at the top of the filtered list irrespective of the phrase user is typing in the combo box.

Condor
10 Nov 2009, 12:58 AM
I assume this is a mode:'local' combobox (you probably wouldn't ask if it were a mode:'remote' combobox)?

You would need to do an inline override of the filter method of the combobox store to not filter that particular record.