We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid hangs in infinite loop on edit.

Hi

I’m rendering multiple grids in a page in foreach with a group. Grids shows up but when I try to edit everything is stuck in a loop, se attached project. What’s wrong with my code?




Attachment: BlazorDataGrid_db9e277a.zip

1 Reply

BL Balamurugan Lakshmanan Syncfusion Team April 11, 2023 03:21 PM UTC

Hi Stefan,


Greeting from Syncfusion support.


We understand that you are experiencing an issue with Grid hanging in an infinite loop on edit. Based on the code that you provided, the reason for this issue is due to the placement of the Grid within a Foreach loop. This causes it to hang in an infinite loop while performing CRUD operations.


To resolve this issue, we recommend placing the Grid outside the Foreach loop. If you have any further queries, please do not hesitate to reach out to us.


Best regards,

Bala 


Loader.
Up arrow icon