Reload grid manually

1 Answer 32 Views
Data Query Grid
Ozgur
Top achievements
Rank 1
Iron
Ozgur asked on 06 Jun 2024, 01:56 PM

I use React Kendo Grid. There are some operations on the page which changes data in the grid.

I want to reload grid without grid buttons. Actually I'm looking for grid.reload() method but couldn't find.

Can you help me please?

1 Answer, 1 is accepted

Sort by
0
Wissam
Telerik team
answered on 10 Jun 2024, 05:32 AM

Hi, Ozgur,

In order to force a re-render/reload for the Grid, I can suggest settings its key prop and updating it.

Calling the setKey method that updates the key does not require calling it in a button click event handler, where you can call it in other places like in a useEffect hook.

I hope this helps, but please let me know if you have any further questions.

Regards,
Wissam
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!

Tags
Data Query Grid
Asked by
Ozgur
Top achievements
Rank 1
Iron
Answers by
Wissam
Telerik team
Share this question
or