JSON php server side response
JSON php server side response
rainolf
Posts: 56Questions: 6Answers: 0
Hi to all,
i'm trying to setup a datatables with server side processing in json format but the format i need to have is something like:
{ "aaData": [
{"Name": "John Doe","Age": "19","School": "Temple" }
]}
Starting with the server side example published can anyone pointing me on the right way?
Thank you
i'm trying to setup a datatables with server side processing in json format but the format i need to have is something like:
{ "aaData": [
{"Name": "John Doe","Age": "19","School": "Temple" }
]}
Starting with the server side example published can anyone pointing me on the right way?
Thank you
This discussion has been closed.
Replies
If so, this example show get you started: http://datatables.net/release-datatables/examples/server_side/object_data.html
Allan
i've followed the example however i'm not able to produce the right server side response.
In the first link u mentioned it speaks about 2 type of data response:
I'm trying to achieve the second one.
I read about DT_RowId and DT_RowClass but i'm not fully understand how to insert it in the code.
Thank you