Datatable not populating with valid Json

Datatable not populating with valid Json

ravi.jiitravi.jiit Posts: 3Questions: 0Answers: 0
edited October 2010 in General
I am getting valid json but still my datatable is not populating. my Json is of following format:
{"iTotalDisplayRecords":36,"iTotalRecords":36,"aaData":[["Trident","Internet Explorer 5.0","Win 95+","5","C"],["Trident","Internet Explorer 5.5","Win 95+","5.5","A"],["Trident","Internet Explorer 6","Win 98+","6","A"]],"sEcho":1}

Datatable Initialisation:

$(document).ready(function() {
$('#example2').dataTable( {
"bProcessing": true,
"bStateSave": true,
"bServerSide": true,
"sAjaxSource": "DatatableServerside.jsp",
"sPaginationType": "full_numbers",
"aaSorting": [[1,'asc']],
"fnServerData": function ( sSource, aoData, fnCallback ) {
$.ajax( {"dataType": 'json',
"type": "POST",
"url": sSource,
"data": aoData,
"success": fnCallback} );
}
} );
} );


And html body is:






engine
browser
platform
version
grade









Pls suggest
This discussion has been closed.