Server side data filter
Server side data filter
kalisjoshua
Posts: 2Questions: 0Answers: 0
To start off with I am using v1.9 and a server side data source for the solution I am working on; initialization settings below:
{"bServerSide": true
,"bProcessing": true
,"sAjaxSource": "Maintenance/AjaxHandler"
...}
I would like to send specific data back with this request to pre filter the data from the server; so what I thought about doing at first is:
{"bServerSide": true
,"bProcessing": true
,"sAjaxSource": "Maintenance/AjaxHandler" + params
...}
Where "params" would be a string of URL parameters of the data I want to filter with on the server. There is a lot of data that we don't need to send back to the page. I believe and hope that there is an initialization parameter that will allow this I just can't seem to find what it is.
Any help would be greatly appreciated.
Thank you :)
{"bServerSide": true
,"bProcessing": true
,"sAjaxSource": "Maintenance/AjaxHandler"
...}
I would like to send specific data back with this request to pre filter the data from the server; so what I thought about doing at first is:
{"bServerSide": true
,"bProcessing": true
,"sAjaxSource": "Maintenance/AjaxHandler" + params
...}
Where "params" would be a string of URL parameters of the data I want to filter with on the server. There is a lot of data that we don't need to send back to the page. I believe and hope that there is an initialization parameter that will allow this I just can't seem to find what it is.
Any help would be greatly appreciated.
Thank you :)
This discussion has been closed.
Replies
http://datatables.net/release-datatables/examples/server_side/custom_vars.html
Sorry for the worthless post all.
It is actually possible to pass "GET" parameters as you describe above, but really the best way of doing it is with fnServerParams as you have discovered.
Allan