• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Very Long combo box or List box

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have Web (JSP) application and requirement is to implement selection using combo box or list box of value from a large list (commune list) which has 5000+ records.
Another requirement is to implement same sort of incremental search or autocomplete search.
Commune list is accessible via JDBC or as web service via URL which returns XML.

The problem is that if we use simple HTML combo box all data from the list must be transferred to browser and this degrades performance when refreshing page.

We found dhtmlxCombo component (http://www.dhtmlx.com/docs/products/dhtmlxCombo/index.shtml), which has nice features, but have slightly unusual user experience.

Does somebody suggests some other component or pattern to achieve this functionality?

Regards,
Saso


 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is just no way to get around it - a combo box or list is NOT the way to give access to a large number of choices. You need to think about how a user would prefer to find something, some sort of initial separation into smaller sets that can be presented reasonably quickly.

Bill
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As William said, using a different presentation where users can search or filter the data to help find what they need is the way to go.

Fr example, let them search for entries containing certain values, or starting with various letters, and so on.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic