This is a migrated thread and some comments may be shown as answers.

parse state as this

1 Answer 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
LEO
Top achievements
Rank 1
Veteran
LEO asked on 31 Jul 2020, 12:27 PM

hello,

I want a function to convert the state like this format :

filter[logic]=and&filter[filters][0][field]=title&filter[filters][0][operator]=eq&filter[filters][0][value]=POST_TITLE

and to pass it on the queryParm

 

Thank you

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 04 Aug 2020, 06:35 AM

Hello Leo,

The @progress/kendo-data-query package does not support such serialization format. It supports a Kendo-specific syntax and OData syntax.

The desired functionality could be achieved with some custom code though. Here's an example.

You can then set the query params through the router's navigate method.

Let me know if I could provide further information on the topic.

Regards,
Dimitar
Progress Telerik

Tags
Grid
Asked by
LEO
Top achievements
Rank 1
Veteran
Answers by
Dimitar
Telerik team
Share this question
or