Server-side processing not working
Server-side processing not working

Hi,
I am trying to use Server-side processing feature from data tables and it is not working. This is the sample code I am using,
JS Code,
$j(document).ready(function(){
$j('#example').dataTable({
"bProcessing": true,
"bServerSide": true,
"bRetrieve": true,
"sAjaxSource": "redirectdata.php"
});
});
HTML Code,
Head 1
Head 2
Head 3
Head 4
I tried the php page directly in browser and it is displaying json encoded data but it is displaying "No data available in table" in user side. I really appreciate any help to fix this. Thanks in advance.
I am trying to use Server-side processing feature from data tables and it is not working. This is the sample code I am using,
JS Code,
$j(document).ready(function(){
$j('#example').dataTable({
"bProcessing": true,
"bServerSide": true,
"bRetrieve": true,
"sAjaxSource": "redirectdata.php"
});
});
HTML Code,
Head 1
Head 2
Head 3
Head 4
I tried the php page directly in browser and it is displaying json encoded data but it is displaying "No data available in table" in user side. I really appreciate any help to fix this. Thanks in advance.
This discussion has been closed.
Replies