FrozenColumnCount causes null exception when binding is changed

Hi,

I am trying to reset the grid, after having performed some backend operations on the observed dataset.

When I have FrozenColumnCount defined, this crashes with an object not found exception. The crash does not occur when not having this attribute defined.

Platform: Windows (not tested on IOS or Android)

Resetting:

var binding = Grid.BindingContext;

<Dataset manipulation>

Grid.BindingContext = null;

Grid.BindingContext = binding;


1 Reply

SD Sethupathy Devarajan Syncfusion Team November 29, 2024 12:02 PM UTC

Hi Kenneth,
 

We had tested the reported issue with simple .NET 9 sample on windows platform. But we were unable to replicate the issue on our end. If you are still encountering the same problem, we kindly request you to modify the attached sample to reproduce the issue and provide additional details.  This will greatly assist us in investigating the issue furtherand providing an appropriate solution as quickly as possible.


We had shared the tested simple sample for your reference.

regards,

Sethupathy D.


Attachment: SfDataGridSample_c41c12a5.zip

Loader.
Up arrow icon