Passing table parameters as a json object
Passing table parameters as a json object
Hi can anyone help me with this? It looks like when the table makes an ajax request it sends its parameters such as the search fields, sorting etc as a standard POST.
Is it possible to send the data as json and the parameters as a json object so that I can just parse them with Jackson into the corresponding java object?
Is it possible to send the data as json and the parameters as a json object so that I can just parse them with Jackson into the corresponding java object?
This discussion has been closed.
Replies
If you enable server-side processing ( bServerSide ) then yes it will.
> Is it possible to send the data as json and the parameters as a json object so that I can just parse them with Jackson into the corresponding java object?
You'd need to use fnServerData or fnServerParams to modify the data object in the request into the format you want.
Allan