Avatar of Klaus Talkenberger
Klaus Talkenberger
Flag for Germany

asked on 

Special Filter for only One Column

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="fasfa-check"></i></td></tr>
<tr><td>555</td><td>abc</td><td>ddd</td><td><input type="text" value="123"/><i class="fasfa-check"></i></td></tr>
<tr><td>456</td><td>abc</td><td>hhh</td><td><input type="text" value="120"/><i class="fasfa-check"></i></td></tr>
<table>

Open in new window


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
jQuery* jqueryDatatableWeb Development

Avatar of undefined
Last Comment
Klaus Talkenberger

8/22/2022 - Mon