Nested React grid for detail level not updated after parent component rerender

1 Answer 59 Views
Grid
Darshan
Top achievements
Rank 1
Iron
Iron
Darshan asked on 17 Feb 2024, 03:21 PM

i have following setup.

parent component holds state information about data and the prop is passed to child ckmponent condiitionally based on data availalbility.

 

child component contains nested react grid as part of detail property. On particular event from nested grid which is part of detail i am updating a setter function on parent component and expect the grid to rerender with new data . Everything works fine except the new data is not rendered in nested grid automatically.

i have to collapse and expand again to view the updated changes in nested grid ..

grid version 5.19

can anyone give some pointers or share working example of such scenario

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 19 Feb 2024, 07:04 AM

Hi Darshan,

Thank you for reaching out to us.

I have created a very basic example demonstrating how updating the master Grid data will update the Detail Grid data:

If further assistance is needed, please modify the example so it can reproduce the issue that you are facing.

 

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

Tags
Grid
Asked by
Darshan
Top achievements
Rank 1
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or