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

KendoReact Grid, changing current page when filter condition changes

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 07 Oct 2019, 11:51 PM

Let's say a user is looking at page 2 after applying a filter on one of the columns.

Please refer to Capture.jpg.

Now, if the user changes filtering text, I want the grid to display page 1, instead of staying on page 2.

 

How can I achieve this?

 

Thank you.

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Oct 2019, 08:32 AM

Hello, Andrew,

This is controlled by the skip parameter passed to the Grid.

I can suggest setting it to 0, so it returns the user to page 1.

This can be observed in our Getting started demo:

https://www.telerik.com/kendo-react-ui/getting-started/#toc-complete-source-code

I hope this is helpful.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or