Last Updated: 27 Jul 2023 07:58 by ADMIN
Created on: 10 May 2023 08:14
Category: KendoReact
Type: Feature Request
Add method for parsing query string to State object

I am using kendo react; how should I convert from a search query string into grid data state object? I am trying to get a query from URL and convert it into json object and pass it to the grid so it can do filtering, sorting, etc.

input can be the query strings below or URLSearchParams object.

const queryString = "sort=triggerAt-desc&page=1&pageSize=10";

The output should be:

    sort: [
      { field: "triggerAt", dir: "desc" }
    skip: 0,
    take: 10,

1 comment
Konstantin Dikov
Posted on: 12 May 2023 08:07


I am posting a method that handles the basic scenarios for filtering, sorting and paging:


Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!