reverse filter
reverse filter
I apologize in advance. I have a feeling there is a very simple answer for this but can't figure it out. I'm trying to filter on records that are not equal to the string. E.G. the example from the documentation will find all records matching 'test string', I want to find all records that do not match 'test string'.
var oTable;
$(document).ready(function() {
oTable = $('#example').dataTable();
/* Filter immediately */
oTable.fnFilter( 'test string' );
} );
var oTable;
$(document).ready(function() {
oTable = $('#example').dataTable();
/* Filter immediately */
oTable.fnFilter( 'test string' );
} );
This discussion has been closed.
Replies
Allan
tableToFilter.fnFilter( '^(?:(?!DP).)*$\r?\n?', 11, true, false);