Receive extra information from the server

Receive extra information from the server

leetaylorleetaylor Posts: 2Questions: 0Answers: 0
edited May 2011 in DataTables 1.8
I've worked out how to send addtional information from the client to the server. Now, I want to go back the other way.

So, how do I send extra information from the server to the client. I would have thought I could add an extra entry in the returned JSON and pull it out somewhere. One item I'd perhaps like to send back is how long the server took to handle the response. I can then show this information to the user.

I don't really want to put the extra data in the column/row data as that wouldn't make much sense.

Any help would be much appreciated. Thanks

Replies

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin
    It looks like your post of this question on stackoverflow has an answer kindly provided by Nicola Peluchetti. For anyone else interested in this topic: http://stackoverflow.com/questions/6090260/jquery-datatables-return-additional-information-from-server .

    Allan
  • leetaylorleetaylor Posts: 2Questions: 0Answers: 0
    Many thanks. Yes, this answered my question. Thanks also for a great product.
This discussion has been closed.