Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

How to use `column().search()` on different columns using different search terms.

$
0
0

I have a scenario where I need to filter column 4 by one term and column 5 by another.

While the first statement works as intended, the second statement never happens. How can I make sure that both searches apply?

detail.column(4).data().search(rowText);
detail.column(5).data().search(colText);
detail.draw();

Viewing all articles
Browse latest Browse all 2364

Trending Articles