davidstutz / bootstrap-multiselect

JQuery multiselect plugin based on Twitter Bootstrap.
https://davidstutz.github.io/bootstrap-multiselect/
Other
3.66k stars 1.99k forks source link

Allow Advanced Filtering options #408

Open Phiph opened 9 years ago

Phiph commented 9 years ago

Hi Guys,

Love the plugin, and how it integrates will with ajax.

However I think that advanced filtering would be a brilliant feature for the drop down. At the moment i can have anything of up to 1000 rows to filter, and I need to be able to search text with starts with, contains, or ends with; and return just those rows for the functionality I plan to implement.

Does anyone else think this is a good idea?

davidstutz commented 9 years ago

So what would be your advanced filtering options? Do you require the user to switch between these modes or would they be fixed using additional configuration options?

Phiph commented 9 years ago

Hi David,

Sorry for the delay in getting back to you!

The Idea would be to have filtering options as follows:

Starts With, Ends With, Contains, Does not Contain Equal To, not Equal to.

This would mean that on user drop down, there is a option to change the filter :+1:
Only reason is, is that I have a search option in ASP which does this, but its hard coded and achievable, but love the idea of being able to advanced search the results in the multiselect.

davidstutz commented 9 years ago

OK, this sounds interested but also hard to achieve. In my opinion, for most use cases the simple filtering is sufficient, in the case where advanced filtering is required, this will probably be highly specific and better achieved through directly customizing the code.

I will leave this open, though, for anybody who is interested in trying this ;)

michaelbilow commented 9 years ago

I'd also love a few more filtering options, though the ones I'd request are numerical filters (basically greater than & less than).