Skip to main content

Autocomplete Combobox backed by database

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2005-01-10

I'm quite comfortable using AutoCompleteDecorator on a combobox where the entries in the List<?> items have been populated in advance. However, this leads to a performance issue when the list contains several thousand entries. What I would like to do is just show the first few (maybe 10) matching entries from the database as the user types in the combobox. With each new character entered in the combobox I will then need to retrieve fresh data from the database. Clearly this needs to be done with care if performance is not to suffer.

Can you offer any advice on how to achieve this?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2011-06-08

We use IntelliHints from JIDE Commen (Free Library from JIDE Software) for this approach.