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

And Operator in Custom filter for search api is not working

$
0
0

I want to filter records based on Text value using search api. e.g. below I want to filter records which ends with 11 But it should not include chl-ccsp-011 . I have tried below query but it is not working. Please suggest me how can i achieve ?.

filterText = "((11$)) && ((^(.(?!chl-ccsp-011))*$))";

$("#" + tableId).DataTable().column(colNum).search(filterText, true, false);

Thanks,
Tushar Prajapati


Viewing all articles
Browse latest Browse all 82444

Trending Articles



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