When navigating to DataGrid examples, xaml binding errors occur for ActualWidth and Header Text.
Still, the app runs as expected.
Hi Team,
I would like to have an external column chooser for the DataGrid. Where that chooser would be populated with the possible columns, and the user would elect/deselect what columns they want in the DataGrid.
Thank you,
Clint
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>
private void TapGestureRecognizer_Tapped(object sender, TappedEventArgs e)
{
this.dataGrid.CommandService.ExecuteCommand(DataGridCommandId.CommitEdit, new EditContext(null, ActionTrigger.Programmatic, null));
}
We’ve encountered an issue related to the inner DataGrid within an outer DataGrid’s RowDetailsTemplate:
Steps to reproduce:
1. Create a DataGrid with editable cells and row details.
2. Inside the RowDetailsTemplate, place a layout (e.g., Grid).
3. Within this layout, embed another DataGrid with editable cells.
4. Start the application and expand row details on the Android platform.
5. Double-tap on any inner DataGrid's cell to open the cell editor.
At this moment the UI appears unresponsive.