Filter only match whole case
Filter only match whole case
CDamgaard
Posts: 1Questions: 0Answers: 0
If i use "DataTables individual column filtering example (using select menus)" and select "A" under under select menu "CSS grade", the updated Datatable show me all values with A also value with C/A1, because off the A. Is there a method to only show values with A?
Oh, find this from fbas:
$('select', this).change( function () {
oTable.fnFilter( "^"+$(this).val()+"$", i , true); // <--- add 3rd parameter "true" and add anchors
} );
and its works.
Oh, find this from fbas:
$('select', this).change( function () {
oTable.fnFilter( "^"+$(this).val()+"$", i , true); // <--- add 3rd parameter "true" and add anchors
} );
and its works.
This discussion has been closed.