Datatable server side processing

Datatable server side processing

antuxityantuxity Posts: 2Questions: 0Answers: 0
edited October 2013 in General
Hi,
I tried to re-create the server side processing example. The table was loaded but when i click on "Next" the "Processing" indicator doesn't go away, screen doesn't seem refreshed. I checked the Console form firebug, the request is finished with 200 OK. Thanks for your help

[code]
$(document).ready(function() {
$('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/data1.php",
"aoColumns": [
{ "mData": "engine" },
{ "mData": "browser" },
{ "mData": "platform" },
{ "mData": "version" },
{ "mData": "grade" }
]
} );
} );
[/code]

Php script is only to echo static JSON data string from the website
[code]
<?PHP
echo '{"sEcho":1,"iTotalRecords":"57","iTotalDisplayRecords":"57","aaData":[{"engine":"Gecko","browser":"Firefox 1.0","platform":"Win 98+ \/ OSX.2+","version":"1.7","grade":"A"},{"engine":"Gecko","browser":"Firefox 1.5","platform":"Win 98+ \/ OSX.2+","version":"1.8","grade":"A"},{"engine":"Gecko","browser":"Firefox 2.0","platform":"Win 98+ \/ OSX.2+","version":"1.8","grade":"A"},{"engine":"Gecko","browser":"Firefox 3.0","platform":"Win 2k+ \/ OSX.3+","version":"1.9","grade":"A"},{"engine":"Gecko","browser":"Camino 1.0","platform":"OSX.2+","version":"1.8","grade":"A"},{"engine":"Gecko","browser":"Camino 1.5","platform":"OSX.3+","version":"1.8","grade":"A"},{"engine":"Gecko","browser":"Netscape 7.2","platform":"Win 95+ \/ Mac OS 8.6-9.2","version":"1.7","grade":"A"},{"engine":"Gecko","browser":"Netscape Browser 8","platform":"Win 98SE+","version":"1.7","grade":"A"},{"engine":"Gecko","browser":"Netscape Navigator 9","platform":"Win 98+ \/ OSX.2+","version":"1.8","grade":"A"},{"engine":"Gecko","browser":"Mozilla 1.0","platform":"Win 95+ \/ OSX.1+","version":"1","grade":"A"}]}';
?>
[/code]

Replies

This discussion has been closed.