Hi,
sortParam is sent as String when using paramsAsJson: true
I am using AjaxProxy for getting data for a grid. I use POST requests and I need my parameters to be encoded as JSON. My problem is that the array of sorters is sent as string and not JSON object.
My guess is that because of paramsAsJson: true config, the sort parameters are treated as a single value when the request parameters are encoded and that's why they are sent like this :
- sortFields: "[{"property":"GENERATED_TITLE_T","direction":"ASC"}]"
sortParam is sent as String when using paramsAsJson: true
Aucun commentaire:
Enregistrer un commentaire