Need to add form data to the GET request for the Ajax source with bServerSide is false.
Need to add form data to the GET request for the Ajax source with bServerSide is false.
Hi,
I am using two datatables on a page. The data being loaded on the second one is dependent on an item selected on the first one. For this to work, I needed to inject some data to the GET request to the data being sent to my Ajax source.
I was able to do this by implementing the fnServerData hook and tweaking the request from there. However this only works when bServerSide is set to true. I do however need bServerSide as false as it is required that the data is sorted on the client-side.
How can I go about this?
Any help would be appreciated,
Alel
I am using two datatables on a page. The data being loaded on the second one is dependent on an item selected on the first one. For this to work, I needed to inject some data to the GET request to the data being sent to my Ajax source.
I was able to do this by implementing the fnServerData hook and tweaking the request from there. However this only works when bServerSide is set to true. I do however need bServerSide as false as it is required that the data is sorted on the client-side.
How can I go about this?
Any help would be appreciated,
Alel
This discussion has been closed.