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

fnFilter with OR condition for two columns

$
0
0
I am trying to find the rows in which I can find this two columns
Blank | Yes
Yes | Blank

But I dont want to find the cases in which they are:
Yes | Yes
Blank | Blank

Is it possible to do it with fnFilter?
I dont know if using regular expresions might help because the OR condition would only be applied to one only column at each time and that will result in showing the non desirable cases I've mentioned.

This will NOT solve the problem
oTable.fnFilter("Blank|Yes", 5, true);
oTable.fnFilter("Blank|Yes", 6, true);
Regards.

Viewing all articles
Browse latest Browse all 82109

Trending Articles



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