Null reference exception occurs when measuring the cells container:
at Telerik.Maui.Controls.DataGrid.DataGridTextCellArranger.PrepareContainerForItemOverride(GridCellModel model)
at Telerik.Maui.Controls.DataGrid.DataGridNumericalCellArranger.PrepareContainerForItemOverride(GridCellModel model)
at Telerik.Maui.Controls.DataGrid.DataGridColumn.Telerik.Maui.Controls.DataGrid.IDataGridColumnDefinition.PrepareContainerForItem(GridCellModel model)
at Telerik.Maui.Controls.DataGrid.CellsController`1.GenerateCellsForRow(IItemInfoNode rowModel, Int32 rowSlot)
at Telerik.Maui.Controls.DataGrid.NodePool`2.GenerateModelsForInfos(IList`1 itemInfos, ModelGenerationContext modelGenerationContext, MeasureContext measureContext)
at Telerik.Maui.Controls.DataGrid.NodePool`2.MeasureForward(MeasureContext& context)
at Telerik.Maui.Controls.DataGrid.NodePool`2.MeasureVertically(RadSize availableSize, Double offset, Double verticalBuffer)
at Telerik.Maui.Controls.DataGrid.NodePool`2.OnMeasure(RadSize availableSize, Double offset, Double verticalBuffer)
at Telerik.Maui.Controls.DataGrid.GridModel.MeasureCells(RadSize availableSize)
at Telerik.Maui.Controls.DataGrid.DataGridContentLayout.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiPanel.MeasureOverride(Size availableSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_MeasureOverride_0(IntPtr thisPtr, Size availableSize, Size* result)
When setting GroupAggregatesAlignment NextToHeader and the column size mode is stretch or auto, the aggregates text in the group header is misaligned, part of the text enters in next column when data changes.
when the column is resized or datagrid is scrolled, the aggregates are aligned as expected
When the cells are measured a NullReferenceException is thrown:
Telerik.Maui.Controls.DataGrid.DataGridTextCellArranger.PrepareTextPaintable(GridCellModel model, TextPaintable textPaintable)The following null reference exception occurs inside the CanLoadMoreItems method
Object reference not set to an instance of an object
at Telerik.Maui.Controls.DataGrid.GridModel.CanLoadMoreItems()
at Telerik.Maui.Controls.DataGrid.GridModel.MeasureCells(RadSize availableSize)
at Telerik.Maui.Controls.DataGrid.DataGridContentLayout.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiPanel.MeasureOverride(Size availableSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_MeasureOverride_0(IntPtr thisPtr, Size availableSize, Size* result)
Currently, i can use the public method ScrollItemIntoView to scroll to an item in the DataGrid.
I noticed you have an internal method: ScrollColumnIntoView. Please make it public so I can use it to scroll to a specific column.
Delegate aggregate descriptor does not update value in the UI when adding/removing item.
The behavior also happens with the property aggregate descriptor.
Provide an option to sort the template column by nested property.
For example:
<dataGrid:DataGridTemplateColumn>
<dataGrid:DataGridTemplateColumn.CellContentTemplate>
<DataTemplate>
<Label Text="{Binding MyAddress.City}" />
</DataTemplate>
</dataGrid:DataGridTemplateColumn.CellContentTemplate>
<dataGrid:DataGridTemplateColumn.SortDescriptor>
<dataGrid:PropertySortDescriptor PropertyName="MyAddress.City" />
</dataGrid:DataGridTemplateColumn.SortDescriptor>
</dataGrid:DataGridTemplateColumn>
When setting GroupAggregatesAlignment NextToHeader and the column size mode is stretch or auto, the aggregates text in the group header is misaligned, part of the text enters in next column when data changes.
When the control is scrolled, some cell is edited or some other operation is applied, the text is displayed as expected.
A NullReferenceException is thrown during the measure phase of a DataGridTextColumn when a CellRenderer is applied:
Object reference not set to an instance of an object.We're noticing issues related to grid load. We're observing the flickering of the data grid on launch.
In some cases, the grid would stay blank and won't recover until the window is resized (which would trigger repainting of the grid).
The behavior occurs with 11.0.0 version and above. With 10.1.0 no issues.