SfDataGrid is crasing, A RedCross appreas.

Hi,

I am using multiple SfDataGrid on a same application which are getting updated from multi-threaded environment.

Grids are bind with observable collection and I have ensured that collection's PropertyChanged event fired from the UI thread only.

Occasionally I am facing Grid Crash with a Big Red Cross in the grid. This cannot be recreated as this happened randomly and occasionally. Plz find the attached image of red cross. It is not possible for me to provide the code which can re-create the situation as this is truly random.

Can you plz suggest the areas we can look for this issue? should we assigned the properties values also in the UI thread only?

Kindly suggest best way to handle updates on multiple grids in multi threaded environment?

Thanks

Rakesh


Attachment: gridCrash_6b915d3f.zip


1 Reply

MA Mohanram Anbukkarasu Syncfusion Team September 27, 2021 12:09 PM UTC

Hi Rakesh, 

Thanks for contacting Syncfusion support.  

We regret to let you know that the provided details are insufficient to understand and reproduce the issue in our end. Kindly provide more details requested below about your scenario.  
  1. You are running the application, due to this you are getting the red cross. It may be an exception. Kindly check the scenario in the Visual studio project and revert  to us with the stack trace details of the exception you are getting.
  2. All the code snippets related the SfDataGrid’s used in your application.
  3. More details about the need for  multi-threaded environment with the code snippets.

Please revert to us with all the above requested details. It will be helpful for us to find the exact issue and the cause for the issue. 

Regards, 
Mohanram A. 


Loader.
Up arrow icon