Server-side processing not working

Server-side processing not working

sobinsobin Posts: 3Questions: 0Answers: 0
edited March 2011 in TableTools
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.

Replies

  • MrBaseball34MrBaseball34 Posts: 96Questions: 0Answers: 0
    Have you tested redirectdata.php to see if it is returning the correct data in JSON format?
This discussion has been closed.