I have situation where I'm filtering values in column "Office" with selectbox where I can select multiple values. For example I want to filter "New York" and "San Francisco" in column "Office" so I expect only first row because it contains both values. My current code shows first row and other row because they contains "New York" or "San Francisco"
Exmple http://live.datatables.net/fadixapi/1/edit?html,js,output
Solved
selected = $("#"+selectId+' option:selected').map(function(){
return "(?=.*"+this.value+")";
}).get();
table.column(2).search("^.*" + search + ".*$",true).draw();