select input searching for one column
select input searching for one column

Hello
I saw the example "Individual column searching (select input)", I would like to do the same thing, but only on a column (column 2). Do you have an example or a piece of code?
Best regard
This discussion has been closed.
Replies
Instead of the
this.api().columns().every( function () {
loop you could just set the variable column to the specific column you want, something like this on line 5:Make sure to remove the
every()
loop (lines 4 and 21) in the example:https://datatables.net/examples/api/multi_filter_select.html
Kevin