Skip to content

Commit

Permalink
call Reload after DataGrid Loaded to fix initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
chrigi28 committed Mar 25, 2024
1 parent b84936e commit d34475a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Maui.DataGrid/DataGrid.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public DataGrid()
{
_collectionView.ItemsSource = InternalItems;
}

this.Loaded += (sender, e) =>
{
Reload();
};
}

#endregion ctor
Expand Down

0 comments on commit d34475a

Please sign in to comment.