Multi-column Select box - javascript

Im looking for a multi-column select box that is searchable.
I have found Flexbox (http://www.fairwaytech.com/flexbox) which does almost everything I need except it limits searching only to the {name} column. I'm needing something that will search over all columns shown.
Im looking for something as powerful as the MS Access dropdown boxes if possible.
Thanks in advance.

not sure if this is what you're looking for...
Presenting SooperFish: jQuery plugin for Multi-Column Dropdown Menus

I ended up creating a (rather crude) custom combo box using div's and a bit of javascript. While it isn't the most elegant it works for my purposes.
Hopefully someone is working on something similar to this but for now this is the only solution I was able to find.

Related

Populating <select></select> with a large number of values

I have a web form which has the user input the values of certain characteristics, however some of the characteristics have up to 45000 values.
The selects were working earlier, albeit with a slight amount of lag when populating the dropdown and trying to scroll through it fast, but now it does not populate at all and the web form hangs.
Is there a way to efficiently contain this many values into a dropdown? Also which is the best library for searchable comboboxes?
I looked at this implementation as it has a "load on open" feature which I thought might be beneficial, but it did not seem to work and is no longer actively developed.
http://john-oc.github.io/
Thanks
Perhaps it would be better to use an autocomplete feature instead of a select menu in this case. A user can type in the first few characters, causing a request to start filtering results based on their input.
Here are a couple of really good autocomplete plugins:
https://github.com/devbridge/jQuery-Autocomplete
Roll your own:
http://www.webreference.com/programming/javascript/rg16/index.html
I agree with Todd, I think you might want some solution that has autocomplete to hide too many results. I'd even go a step further and suggest bootstrap DataTables: https://datatables.net/manual/styling/bootstrap
You can make searchable tables with this, with the key advantage being that it paginates results, so you don't see it all at once.
I'm a big fan of https://github.com/angular-ui/ui-select. You can have it make a request based on the current text input, and then populate the dropdown.
Since the question is already answered, please let me just contribute here.
You can use the typeaheads from angularStrap to achieve this. Beyond the easy manipulation of data, you can even use to make async calls using data provider.

Dropdown list <select> tag

please anyone give some code to use a png as drop down arrow, that's goin to suppurt all major browsers. I'm weak in JS so please give me some tutorial.
I found this.
Using jQuery can make things easier with a lack of js. Here is a collection of custom select box plugins that should be pretty easy to implement.
http://www.jquery4u.com/plugins/10-jquery-form-select-boxes/
Or just try googling 'custom selectbox plugin'.

Editable and autocomplete combo box with JavaScript

I need to make a combo box in my form to be editable and capable to search the input text through the values of the combo box (like autocomplete way).
What's the simplest way to obtain this?
If you aren't already using any framework that provides this component (i.e. YUI), this component might be useful to you: dhtmlxCombo
You can take a look at Dojo's ComboBox.
It has all the features you require and more.
I am searching for it myself. One of the solutions I've found is jQuery UI's autocomplete. Seems to be very flexible and well documented. See http://jqueryui.com/autocomplete/#combobox for example.

jQuery slidebar for searchbox?

I'm currently working on a search box for my site that will hopefully use a slide-bar instead of tabs to conduct the search. Users will enter a search query and instead of choosing from the conventional tabs above the box, they will have the option to search based on the position of the slider (ie. a "stronger" or "weaker" range of search). Does that make sense?
Anyway, has anyone come across a plugin to help me build such a slide? jQuery? Ajax? CSS? Not sure how to go about it. Has anyone any experience or ideas with what I'm trying to achieve?
Let me know what you think, and if you need me to elaborate on anything :)
Thanks, David
jQuery UI has a Slider control that you could use for this.
You can see from the demo's on the page that there are numerous different ways that you can use this, look at the "Snap to Increments" demo. You could use this method and snap it to "weak", "strong", "very strong" etc?

Professional jQuery based Combobox control? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Are there any professional Combobox controls (dropdown list with autosuggestion) based on the jQuery library?
It should be able to handle large datasets and have some skinning options. A multi-column result list would be great too. I'm working with ASP.NET, but it's a not a problem if I had to write a wrapper for it.
I'm already using a third-party control, but I ran into some compatibilty issues between two vendor's controls. Well, I want to get rid of this kind of dependencies.
Here's one that looks very promising. It's a true combo - you see what you type. Has a cool feature I haven't seen elsewhere: paging results.
FlexBox
Unfortunately, the best thing I have seen is the jquery.combobox, but it doesn't really look like something I'd really want to use in my web applications. I think there are some usability issues with this control, but as a user I don't think I'd know to start typing for the dropdownlist to turn into a textbox.
I much prefer the Combo Dropdown Box, but it still has some features that I'd want and it's still in alpha. The only think I don't like about this other than its being alpha... is that once I type in the combobox, the original dropdownlist items disappear. However, maybe there is a setting for this... or maybe it could be added fairly easily.
Those are the only two options that I know of. Good luck in your search. I'd love to hear if you find one or if the second option works out for you.
Anyone looking for a jquery "combo box" seems to be directed to this question. My post is for people coming to this page to find a "traditional" combo box, rather than an answer to the original question. The above solutions all focus on using the input as a means to filtering and autocompleting to an existing select value. (great for large datasets)
If you're looking for the traditional combo box, which is simply "Type something or select from these pre-defined values" (no we won't hide the ones that don't match while you're typing), all you may need to do is
<select id="combo4" style="width: 200px;"
onchange="$('input#text4').val($(this).val());">
<option>option 1</option>
<option>option 2</option>
<option>option 3</option>
</select>
<input id="text4"
style="margin-left: -203px; width: 180px; height: 1.2em; border: 0;" />
See
http://bit.wisestamp.com/uncategorized/htmljquery-editable-combo-2/
Should be easy to wrap this into a plugin that converts an existing select tag, though I haven't seen that done yet.
P.S.: The main problem I see with "jQuery Editable Combobox" is that it remains a select list, and it is not obvious at all that you can just start typing something new.
A new fork of the sexy-combo project is now out which looks promising: http://code.google.com/p/ufd/
For large datasets, how about JQuery UI Autocomplete, which is basically the "official" version of Jorn Zaeferrer's Autocomplete plugin?
I also wrote a straight JQuery combobox plugin that's gotten pretty good feedback from its users. It's explicitly not meant for large datasets though; I figure that if you want something that prunes the list based on what the user types, you're better off with Jorn's autocompletion plugin.
Another nice plugin is Sexy Combo
This is also promising:
JQuery Drop-Down Combo Box on simpletutorials.com
An official jQuery UI ComboBox/Autocomplete component is in the making... (previously in beta for jQuery UI 1.5.x), see jQuery UI Wiki
UPDATE:
Autocomplete functionality is now a core feature of jQuery UI, see docs.
If you don't need multi-column, chosen is another good choice. MIT Licensed
I found this other one: http://code.google.com/p/jquery-jec/
Also seems like a good option.
I'm looking for the same.
The one I liked most till now is this one for ExtJs - except I havent tested it with large Lists:
www.sencha.com/deploy/dev/examples/form/combos.html
Here is another really(!) fast one:
http://jsearchdropdown.sourceforge.net/
For example the SexyCombo works quite fantastic but is way to slow for
longer lists.
The SexyCombo folk UFD is a lot faster, but initialization time is still quite slow for really huge lists.
Besides I get sometimes some little! "flashing".
But I guess there will be some updates in the near future.
Sexy-Combo has been deprecated. Further development exists in the Unobtrusive Fast-Filter Dropdown project. Looks promising, as i have similar requirements.
https://code.google.com/p/ufd/
I like select2, it's feature-rich and nice and active. Particularly like the diacritic search feature.
Why don't you try http://jqueryajax.codeplex.com/. It is a collection of ASP.NET controls that contains multicolumn drop down as well.
Activewidgets has a very nice looking one. No idea how well it performs on large datasets.
http://www.activewidgets.com/ui.combo/
I had the same problem, so I ended up making my own.
It has a template system built in, so you can make the results look like anything you want.
Works on all major browsers and accepts arrays & json objects.
http://code.google.com/p/custom-combobox/
Here's a really cool one: http://www.xnodesystems.com/ The Dynamic List Field not only has the autocomplete capability, but also is able to do validation.
I've tried http://jqueryui.com/demos/autocomplete/#combobox and the problems faced were:
Cross browser rendering
Inability to submit custom value
As a result I've tweaked it a bit and it worked fine for me in ASP.NET MVC. My version of CSS and widget script can be found here http://saplin.blogspot.com/2011/12/html-combobox-control-and-aspnet-mvc.html
Sample on binding MVC model to custom value is also there.
http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
Try this one:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxcombobox/index.htm
Very nice with many features including localization.
Highly recommending Twitter Typeahead:
http://twitter.github.io/typeahead.js/
all what you need
http://jquerycomboboxtmpl.codeplex.com/
drop-down on templates

Categories

Resources