I added showrowheader to true for my application, and now I am getting this error -
System.NullReferenceException: 'Object reference not set to an instance of an object.'
This exception was originally thrown at this call stack: Syncfusion.UI.Xaml.Grid.DataRow.UpdateRenderer(Syncfusion.UI.Xaml.Grid.DataColumnBase, Syncfusion.UI.Xaml.Grid.GridColumn) Syncfusion.UI.Xaml.Grid.DataRow.UpdateColumn(Syncfusion.UI.Xaml.Grid.DataColumnBase, int) Syncfusion.UI.Xaml.Grid.DataRow.EnsureColumns(Syncfusion.UI.Xaml.ScrollAxis.VisibleLinesCollection) Syncfusion.UI.Xaml.Grid.RowGenerator.EnsureColumns(Syncfusion.UI.Xaml.ScrollAxis.VisibleLinesCollection) Syncfusion.UI.Xaml.Grid.VisualContainer.EnsureItems(bool) Syncfusion.UI.Xaml.Grid.VisualContainer.MeasureOverride(System.Windows.Size) System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) System.Windows.UIElement.Measure(System.Windows.Size) System.Windows.ContextLayoutManager.UpdateLayout() System.Windows.ContextLayoutManager.UpdateLayoutCallback(object)
Can someone please help me fix this error so I can add a row header to my sfdatagr
This seems to be erroring after I do a RefreshColumns() method.
Hi Jacob Treisch,
We have created a bug report for the reported issue “Null reference exception
occurs when calling RefreshColumns helper method while ShowRowHeader property
enabled”. We will fix this issue and include it in our upcoming Weekly NuGet
release scheduled for March 21, 2023
You can track the status of this report through the following feedback link,
Feedback Link: https://www.syncfusion.com/feedback/41710/null-reference-exception-occurs-when-calling-refreshcolumns-helper-method-while
Note: The provided feedback link is private, and you need to login to view this feedback.
We appreciate your patience until then.
Regards,
Vijayarasan S
Jacob
Treisch,
We regret the inconvenience,
Weekly NuGet was not released today due to Essential Studio 2023 Volume 1 Main
release next week. We will fix this issue and include it in our Essential
Studio 2023 Volume 1 Main Release, which will be rolled out at the end of March
2023.
We will let you know once it is released. We appreciate your patience until
then.
Jacob Treisch,
We are glad to announce that our Essential Studio 2023 Volume 1 Main Release V21.1.35 is rolled out with the reported bug fix “Null reference exception occurs when calling RefreshColumns helper method while ShowRowHeader property enabled” and is available for download under the following link.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.