- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm looking for suggestions about how to handle a select of around 1800 driver's names.
My app will have several select dropdown controls populated from tables, only one with such a lot of records. It will be great a control that performs a search based on part of the name.
Looking forward to your comments, thanks a lot.
Regards
Diego
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://css-tricks.com/dynamic-dropdowns/
http://stackoverflow.com/questions/5036277/dealing-with-huge-data-in-select-boxes
You are definitely going to need an "autocomplete" solution. The links above will help get you started. This means you'll probably have to write some server-side code too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also there are two jQuery plugins which make this a _lot_ simpler. Chosen and Select2
http://stackoverflow.com/questions/13575531/what-are-the-differences-between-chosen-and-select2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much Chris,
Chosen seems a very good option, I didn't know it, I will give it a try.
In the meantime I was looking at Framework7, it has a search bar that works nice with lists. I hope Intel update the F7 version in XDK, besides the list, it has a lot of goodies.
Regards
Diego

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page