Skip to main content

Autocomplete Combobox backed by database

1 reply [Last post]
bolsover
Offline
Joined: 2005-01-10
Points: 0

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.
mwrekers
Offline
Joined: 2011-06-08
Points: 0

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