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

Data disappears after repopening Modal

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 23 Nov 2020, 12:57 PM
I have a Kendo grid appearing in a modal. The modal opens by clicking on a button that sets the state of a map region on a map, which passes a parameter to the kendo grid on which map region data to display. This works fine on the first opening of the modal. If I click on a different map region and click on the modal, the grid displays the data fine. However, if I close the grid and try to reopen the grid with the same data, Ex: Click on Modal with Region X selected. Close the modal. Reclick the open modal button. Now the grid displays no data.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 25 Nov 2020, 07:30 AM

Hello, Matt,

Thank you for the details.

I can suggest checking inside render to see the value of the array passed to the Grid. If the array is empty, then this is connected to the application logic as it seems that the prop responsible for the data is empty.

If the array is not empty, but the Grid still shows empty, please share an example or at least a source code of the Modal with the Grid as this will help us inspect it locally to determine what could be causing this

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or