Hi,
how can I apply initial sorting on a datatable, so it is available in my params in the url proxy?
Hi,
how can I apply initial sorting on a datatable, so it is available in my params in the url proxy?
By default, initial data request has no any parameters and uses only provided URL (which will be the base of all further requests).
You can simply add custom parameters for this specific condition in your proxy, but the most cohesive solution will be
undefined
, use some properties from the state.Here’s an example with the proxy that gathers all parameters into the request URL: Code Snippet
Note: unfortunately, the backend in this snippet does not support sorting, so please observe the parameters of requests.