Our blazing fast Grid component built with pure JavaScript


Post by germandsantana »

Hi,

We have some trouble using the filter and sort parameters in our backend.
We are using spring boot which bundles a tomcat web server.

The parameters sent by the ajax store are refused because the url apparently is not well formed.

Invalid character found in the request target
 [/api/investment/assets/search?sort=[{%22ascending%22:true,%22field%22:%22name%22}]]. The valid characters are defined in RFC 7230 and RFC 3986.

The brackets are not encoded.

Do you know if the entire sort parameter could be encoded.

Thanks for your help,

Germán Santana


Post by alex.l »

Hi Germán,

Thanks for your report! I've created a ticket https://github.com/bryntum/support/issues/964
For now, you could implement your own formatter using https://www.bryntum.com/docs/grid/#Core/data/AjaxStore#function-encodeSorterParams

All best,
Alex

All the best,
Alex


Post Reply