Declined
Last Updated: 19 Jun 2023 12:40 by ADMIN
Created by: Daniel
Comments: 5
Category: DataGrid
Type: Bug Report
3

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:

  • Step 1. Run the app and click Button 1 to load an instance of this ContentView
    • Observe => The DataGrid renders as expected
  • Step 2. Click Button 1 again to reset and load a new instance of this ContentView
    • Observe => The DataGrid will NOT render (you can repeat this step multiple times)
  • Step 3. Resize the app window
    • Observe the DataGrid will be rendered again

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());
}
Declined
Last Updated: 11 Jun 2024 11:41 by ADMIN

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"/>

 

Declined
Last Updated: 20 Jul 2023 09:34 by ADMIN
Created by: Gerard
Comments: 4
Category: DataGrid
Type: Bug Report
0
see image of line overwriting in Datagrid from latest release 
Declined
Last Updated: 24 Apr 2024 06:40 by ADMIN
Setting TextHorizontalOptions of the DataGridColumnHeaderStyle  to "Center" takes no effect.