PDA

View Full Version : [CLOSED] Combobox TypeAhead



blurken
May 18, 2012, 12:39 AM
For a combobox, the behavior of TypeAhead = True changes between using a collection of list Items and using a store


Dim elementComboPart As New ComboBox()
elementComboPart.TypeAhead = True

Example: If the combobox is a Country the, when using Listitems typing 'A' would narrow down the country list to all countries that start with 'A'

When using a store, I have to type 4 letters in before the list gets narrowed down. So it takes until 'Aust' to show 'Australia' or 'Austria' for example.

Q) How do I make this TypeAhead action start narrowing down immediately after the user starts typing when using a store?

geoffrey.mcgill
May 18, 2012, 1:39 AM
Hi,

I think you just need to set QueryMode="Local" on the <ext:ComboBox> if using a Store.

When the inner <Items> is configured, a Store is created and populated behind the scenes, and QueryMode="Local" is automatically set.

Hope this helps.

blurken
May 18, 2012, 1:46 AM
Hi,

I think you just need to set QueryMode="Local" on the <ext:ComboBox> if using a Store.

When the inner <Items> is configured, a Store is created and populated behind the scenes, and QueryMode="Local" is automatically set.

Hope this helps.

Indeed it did. Thank-you very much...

See folks... It help's to upgrade to Premium Subscription ;)