React grid filtering

1 Answer 508 Views
Grid
Vladislav
Top achievements
Rank 1
Iron
Iron
Vladislav asked on 03 May 2021, 05:05 PM | edited on 03 May 2021, 05:25 PM
Hello Everyone!

I use Kendo react data grid. I have the filterable setting enabled. I have the state of the filter stored in the react state. When [onDataStateChange] fires, I save the new state - as in the demo. My problem is that the [onDataStateChange] event is fired whenever the text in the filter changes, which causes performance issues, especially if I use server side pagiing. Is it possible to define deboucing, or some other kind of search delay? I know I can delay the api call to the server side. But filtering over current data is in progress, which is an unwanted effect. In Jquery grid, the filter is fired after typing the Enter key, this is also sufficient. But I can't implement it for react grid.

Thank you very much.
Vlado

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 04 May 2021, 10:39 AM

Hello, Vlado,

We have a discussion logged for this in GitHub with a couple of ideas:

https://github.com/telerik/kendo-react/issues/399

I can suggest checking it and commenting with suggestions and ideas based on the real application case.

Regards,
Stefan
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
Grid
Asked by
Vladislav
Top achievements
Rank 1
Iron
Iron
Answers by
Stefan
Telerik team
Share this question
or