iTotalRecords does not display

iTotalRecords does not display

hybrishybris Posts: 5Questions: 0Answers: 0
edited March 2012 in General
Hi, I wrote a personal api service that return this json response :

- infoResponse: { }
- bodyResponse: { the data returned if there's a successful response, if I use DataTables, I put here iTotalRecords and aaData data }

I have no problem to set sAjaxDataProp to "bodyResponse.aaData" , but I got "Showing 1 to NaN of NaN entries" .

I think the problem is that iTotalRecords and iTotalDisplayRecords I return are inside the bodyResponse and maybe DataTables find for them at the root level of my json..
This discussion has been closed.