Software Archive
Read-only legacy content
17061 Discussions

Best way to handle selection in thousands of options

Diego_Calp
Valued Contributor I
234 Views

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

0 Kudos
3 Replies
Chris_P_Intel
Employee
234 Views

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.

 

0 Kudos
Chris_P_Intel
Employee
234 Views
0 Kudos
Diego_Calp
Valued Contributor I
234 Views

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

0 Kudos
Reply