Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82668

Special Filter for only One Column

$
0
0

Hello everybody

Is there a way to use a special search / filter for a column? All other columns should be filtered with the standard Datatable Filter. I don't want to use a second input field for the filter.

Example data:

<table>
<tr> <td> 123 </td> <td> abc </td> <td> xxx </td> <td> <input type =" text "value =" 234 "/> <i class = "fas fa-check"> </i> </td> </tr>
<tr> <td> 555 </td> <td> abc </td> <td> ddd </td> <td> <input type = "text" value = "123" /> <i class = "fas fa-check"> </i> </td> </tr>
<tr> <td> 456 </td> <td> abc </td> <td> hhh </td> <td> <input type =" text "value =" 120 "/> <i class = "fas fa-check"> </i> </td> </tr>
</table>

If you enter "123" in the search field of the table, the result should be records 1 and 2.

Accordingly, the HTML tags would have to be filtered out in column 4 and only searched for the value.

I hope someone has an idea.

thank you in advance

Talki


Viewing all articles
Browse latest Browse all 82668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>