Skip to content

Commit

Permalink
Merge pull request #168 from chrigi28/main
Browse files Browse the repository at this point in the history
call Reload after DataGrid Loaded to fix initialization
  • Loading branch information
symbiogenesis committed Mar 25, 2024
2 parents ff87d24 + 0f41a19 commit b9c800f
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;
}

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

#endregion ctor
Expand Down

0 comments on commit b9c800f

Please sign in to comment.