Special Filter for only One Column

Special Filter for only One Column

TalkiTalki Posts: 1Questions: 1Answers: 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

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    This thread should help, it's asking the same thing.

    Cheers,

    Colin

This discussion has been closed.