Different search plugin for different columns
Different search plugin for different columns
davidebronza
Posts: 2Questions: 0Answers: 0
Hi everybody, I need to apply range date filters on many columns, range numeric filter on a column and boolean filter on another column. I'm wondering how can I set up this stuff using multiple search plugins and assign these plugins to desired columns. I can't use search builder or search pane because I must create the fastest UI possible so i need too much customization on that products.
Thank you everybody
This discussion has been closed.
Replies
You can use multiple search plugins, like this example:http://live.datatables.net/rosahuka/1/edit
The plugins are cumulative in what they remove. Basically an AND search. If you need an OR search you will want to combine everything for the OR search in one plugin, like this:
http://live.datatables.net/hocoyuke/4/edit
Take a look at bindrid's example in this thread. It is setup so that you can define
columns.type
to be used in the search plugin.Let use know if you have any questions. The easiest way for us to help is if you provide a test case showing what you are trying to do.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Thank you Kevin
I had something different in my mind but i can solve this way, in my previous project I did the same but I have one search plugin for each column I want to range filter. But I can deal with that
for me is solved, I'll create a new post with a different question to relate the plugin to a single table, avoiding conflicts in page with many tables and same columns
thank you again
Davide