Server-side process not work

Server-side process not work

kayak86kayak86 Posts: 1Questions: 0Answers: 0
edited July 2012 in General
Hi! I have a problem with Datatables ' s server-side process.
I have this code:

[code]
var oTable = $("#example").dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "server_processing.php",
"fnServerData": function (sSource, aoData, fnCallback) {
$.ajax( {
"dataType": 'json',
"type": "POST",
"url": sSource,
"data": aoData,
"success": fnCallback,
} );
}
} );
[/code]

But i cant' view any result in the table. The ajax call return a correct json!!
What is the problem?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Can you link us to the page, or at least pass it through the debugger please: http://datatables.net/forums/discussion/9719/how-to-ask-for-help

    Allan
This discussion has been closed.