fnFilter Does Not Work for IE9
fnFilter Does Not Work for IE9
I am working on an intranet project and one of the supported browsers is IE9. I am doing list box filters which triggers a javascript and calls on fnFilter to filter the table. This is only working for Firefox and Chrome. I did a search on this forum and so far the only issues that come up are changing the content-type to charset UTF-8. This did not resolve my problem. Below are portions of my code:
[code]
// Init DataTables
var _aoColumns = [{"sType": "mbname"}, {"bSearchable": true}, {"bSearchable": true}, {"bSearchable": true}, {"bSearchable": false, "sType": "string"}, null];
$('#tableBody').html(html.toString());
oTable = $('#tblPeople').dataTable({
"sScrollX": "100%",
"bPaginate": false,
"bProcessing": _bProcessing,
"bLengthChange": false,
"sDom": 'pt<"clear">r',
"bDeferRender": true,
"aoColumns": _aoColumns,
"bFilter": true,
"aaSorting": [[NAME_COL,'asc'] ]
});
// This is called by the dropdown filters
function filterPeople (val, col) {
oTable.fnFilter(val, col);
}
[/code]
I really need to resolve this ASAP. Please help.
[code]
// Init DataTables
var _aoColumns = [{"sType": "mbname"}, {"bSearchable": true}, {"bSearchable": true}, {"bSearchable": true}, {"bSearchable": false, "sType": "string"}, null];
$('#tableBody').html(html.toString());
oTable = $('#tblPeople').dataTable({
"sScrollX": "100%",
"bPaginate": false,
"bProcessing": _bProcessing,
"bLengthChange": false,
"sDom": 'pt<"clear">r',
"bDeferRender": true,
"aoColumns": _aoColumns,
"bFilter": true,
"aaSorting": [[NAME_COL,'asc'] ]
});
// This is called by the dropdown filters
function filterPeople (val, col) {
oTable.fnFilter(val, col);
}
[/code]
I really need to resolve this ASAP. Please help.
This discussion has been closed.
Replies
Also as you'll be able to see form the examples on this site, filtering does work no problem in IE9 with DataTables, so there is something else going on - and I've not idea what that would be without more information.
Allan