Hi Team,
I have attached a reproducible. Open DashboardView.xaml, there you'll find the DataGrid.
Run the project on Windows and take the following steps:
The only way I could get it to render again was by resizing the app window, even calling InvalidateMeasure(SizeChanged) didn't work.
The logic is simple, the button click just clears MainPage.xaml's container children and adds a new instance of DashboardView:
private void OnButton1Clicked(object sender, EventArgs e)
{
currentContentViewHolder.Children.Clear();
currentContentViewHolder.Children.Add(new DashboardView());
}
I tested streaming data for nested property and the UI does not update. The data is updated in the collection bound to the DataGrid ItemsSource, still the UI doesn't.
When I enter editing the cell, the UI updates.
The issue happens in this case:
<telerik:DataGridNumericalColumn PropertyName="Address.Age"
HeaderText="Age" />
<telerik:DataGridTextColumn DataMemberBinding="{Binding Address.Age}"
HeaderText="Age DataMemberBinding"/>
I have been trying to get the DataGrid to work with Maui.Markup and I'm not finding a way to add a DataGrid to my View.
I would have expected I could add a DataGrid to the Children of Grid...but I'm not finding the right cast to allow that to happen, Grid.Children is expecting an IView.
Is this possible and I'm just missing something simple? Thanks!