Error with try refresh grid, NullReferenceException

When press the save button get error but i dont have any details, the SfGrid has the references and are instanced, and put a try/catch on the save method but dont have any exception too.

This is the grid

Error_Grid_1.png

this is the error.

Error_Grid.PNG


I tried using refresh grid method but have exception null reference, but the grid instance is not null, so i'm very confused.



1 Reply

NP Naveen Palanivel Syncfusion Team May 24, 2022 01:43 PM UTC

Hi Aqualimp,


Greetings from Syncfusion support.


We have checked your query and we suspect that issue is occurs because due to MudGrid defined inside the Dialog Template of Grid. Inside the Dialog template at least one editable component must be defined directly inside it. But in the shared code example, SfTextBox component is defined inside the MudGrid which we suspect is a display component.


So we request you to ensure the reported issue by removing the MudGrid component inside the Grid Dialog edit placing only the Editor component. If issue still occur kindly get back to us with more details to validate the reported issue further.


So kindly share the following details for better assistance.


  1. Share a video demo showing the replication of the problem you are facing
  2. Share the issue reproducible sample .


Above requested details will be very helpful for us to validate the reported query at our end and provide solution as early as possible


Regards,

Naveen Palanivel.


Loader.
Up arrow icon