HTML filter problem.
HTML filter problem.
Hi,
I'm trying to filter a single column in a data table, the column contains HTML and I only want to search the visible content.
This are the settings I'm using but they just don't seem to work, when I search for a '&' for example all rows are displayed because each one contains a '&' in tag.
$('#companyTable').dataTable({
"bAutoWidth": false,
"aaSorting": [[ 2, "asc" ]],
"sDom": '<"top"ifl<"clear">>rt<"bottom"lp<"clear">',
"sPaginationType": "full_numbers",
"aoColumns": [ { "bSearchable": false },{ "bSearchable": false },{ "sType": "html" },{ "bSearchable": false },{ "bSearchable": false },{ "bSearchable": false },{ "bSearchable": false },{ "bSearchable": false } ],
"bStateSave": true });
Any help would be much appreciated. Thanks.
I'm trying to filter a single column in a data table, the column contains HTML and I only want to search the visible content.
This are the settings I'm using but they just don't seem to work, when I search for a '&' for example all rows are displayed because each one contains a '&' in tag.
$('#companyTable').dataTable({
"bAutoWidth": false,
"aaSorting": [[ 2, "asc" ]],
"sDom": '<"top"ifl<"clear">>rt<"bottom"lp<"clear">',
"sPaginationType": "full_numbers",
"aoColumns": [ { "bSearchable": false },{ "bSearchable": false },{ "sType": "html" },{ "bSearchable": false },{ "bSearchable": false },{ "bSearchable": false },{ "bSearchable": false },{ "bSearchable": false } ],
"bStateSave": true });
Any help would be much appreciated. Thanks.
This discussion has been closed.