filter, search and sort are not working
filter, search and sort are not working
Hi,
Below is the script that i am using:
function showContentPage()
{
if (xmlHttp.readyState == 4)
{
document.getElementById("content").innerHTML = xmlHttp.responseText;
$('#example').dataTable({
"sDom": 'T<"clear"><"fg-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix"lfr>t<"fg-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix"ip>',
"bJQueryUI": true,
"bSort": true,
"aaSorting": [[ 5, 'asc' ], [0, 'asc'], [1, 'asc']],
"sScrollX": "100%",
"sScrollY": "550px",
"bScrollCollapse": true,
"bPaginate": false
});
}
}
my datatable will be part of ajax responsetext.
Initially data is getting loaded, but when try to do a search or sort or filter not able to see the data, except headers. This is working fine in Firefox.
Quick help will be appreciated!!!
Thanks,
Hari.
Below is the script that i am using:
function showContentPage()
{
if (xmlHttp.readyState == 4)
{
document.getElementById("content").innerHTML = xmlHttp.responseText;
$('#example').dataTable({
"sDom": 'T<"clear"><"fg-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix"lfr>t<"fg-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix"ip>',
"bJQueryUI": true,
"bSort": true,
"aaSorting": [[ 5, 'asc' ], [0, 'asc'], [1, 'asc']],
"sScrollX": "100%",
"sScrollY": "550px",
"bScrollCollapse": true,
"bPaginate": false
});
}
}
my datatable will be part of ajax responsetext.
Initially data is getting loaded, but when try to do a search or sort or filter not able to see the data, except headers. This is working fine in Firefox.
Quick help will be appreciated!!!
Thanks,
Hari.
This discussion has been closed.
Replies