Search/Filter only visible columns
Search/Filter only visible columns
cyberlussi
Posts: 6Questions: 0Answers: 0
Hi,
I hope this is not a double post ... but I could not find a matching thread or option in the docs ...
I set some columns to invisible initially and use ColVis to show them on demand. That is working fine. But the smart search/filter looks in all columns - visible and invisible ones.
How to setup datatables to search in visible columns only? (The optimum solution would be a checkbox to restrict the search to visibility.)
I hope this is not a double post ... but I could not find a matching thread or option in the docs ...
I set some columns to invisible initially and use ColVis to show them on demand. That is working fine. But the smart search/filter looks in all columns - visible and invisible ones.
How to setup datatables to search in visible columns only? (The optimum solution would be a checkbox to restrict the search to visibility.)
This discussion has been closed.
Replies
Allan
For sure this could be done in a plugin or with some fancy js tricks, but yes that is a little bit of work to do (which I cannot spent at the moment).