Data disappears after repopening Modal

2 posts, 0 answers
  1. Matt
    Matt avatar
    1 posts
    Member since:
    Jul 2020

    Posted 23 Nov 2020 Link to this post

    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.
  2. Stefan
    Admin
    Stefan avatar
    3039 posts

    Posted 25 Nov 2020 Link to this post

    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/.

Back to Top