JQuery MultiSelect Widget

Looking for a jQuery MultiSelect widget that can handle thousands of elements.

Actually like this: http://www.quasipartikel.at/multiselect/ , but the performance on it after a few hundred pieces is terrible.

Suggestions?

+3


source to share


2 answers


I don't think there is a Javascript widget that won't stop your browser if you try to select thousands of items. First of all, who wants to scroll through a list of thousands of items?

If your potential list of elements is really long, I would recommend something like jQuery UI Autocomplete, which can use AJAX to send a much smaller subset of elements based on key strokes. Here's an example that allows multiple options: http://jqueryui.com/demos/autocomplete/#multiple-remote



However, you don't want to use this to select "thousands of items". You could argue that you want a control that allows you to click on an element, scroll through several hundred lines, and then Ctrl-click to select them all. What's where the best design is. How are these hundreds of lines related? Can you create a hierarchy of groups to choose from? As I said, any control you try to do with this will perform horribly.

+3


source


This widget works fine with app. 5000 items. I tested in FireFox ...



https://github.com/yanickrochon/jquery.uix.multiselect

+1


source







All Articles