Multi Select Search on colums (server_side-on)
Multi Select Search on colums (server_side-on)
davieh
Posts: 2Questions: 1Answers: 0
Hello!
I've searched the net about it, but only old stuff for old versions.
I'm looking to do multi searches\filters on each column.
I prefer some kind of Multi-Select for a column.
I saw old examples that convert it to 'OR' expression, is there a better way\solution?
Also is it supported when I use server_side option?
I'm working with A lot of querys - about ~250K
Thanks AAAA Lot,
David.
This discussion has been closed.
Answers
One option is to use the yadcf plugin.
Kevin
I tried it and i have a lot of problems, all the examples in the site are with another version of DataTables
And especially with server side
Here is the example :
http://david123456.vangus.site/examples/server_side/simple.html
Nothing works automatic and multi seect doesnt work...
It appears, from your test case, the multi-select option searches based on "contains" instead of "exact" matching. I'm not sure if yadcf supports exact match with multi-select.
Not sure if you found it but the documentation is contained within the JS source:
https://github.com/vedmack/yadcf/blob/master/src/jquery.dataTables.yadcf.js
The developer does periodically answer questions on this forum but you may have better luck using Stackoverflow as mentioned here:
https://github.com/vedmack/yadcf
Kevin