Fetch server params of a datatable

Fetch server params of a datatable

sdinesh21sdinesh21 Posts: 37Questions: 0Answers: 0
edited December 2013 in DataTables 1.9
Hi Allan,

I use Datatables 1.9 for a server side datatable which I refresh every 5 seconds. For a table, I want to fetch the server parameters that are being passed in the request. I tried fetching by calling aoData of the datatable but it has the table records in it. How else could I fetch the request parameters alone?

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    You can't really - they aren't exposed externally. You could use fnServerParams to save the last parameters used into an object, but there isn't really a public way of getting the parameters without making a request.

    Allan
This discussion has been closed.