How to exclude a specific column from search box and add dropdown filter for that particular column.
How to exclude a specific column from search box and add dropdown filter for that particular column.
zishan.sttl
Posts: 3Questions: 1Answers: 0
Hello there,
In my table, there is a column for status(All Status, Active & In-active). I made search filtering 'caseInsensitive':true in a table but while I'm typing "active" in a search box, it shows all Active & In-active records.
So, I want to exclude a status column to be searched from search box and want to add a dropdown filter in status column.
Can anyone help me how to do this ? Thanks in advance..
I'm using datatables version 1.10.11.
This discussion has been closed.
Answers
Can anyone answer ??
You can try my yadcf for all your requirements, not sure how to exclude column from the global, but you can just replace it with a new one that will be configured to filter specific columns only, see showcase page for examples as to the column filter, see this showcase page
@daniel_r
This is not what I want. See, I want to exclude a single (specific) column from global search.
Any other solution ?
https://datatables.net/reference/option/columns.searchable