Skip to content

Commit

Permalink
always reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Dec 27, 2023
1 parent e9ed6de commit cd7bb07
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Maui.DataGrid/DataGrid.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -998,13 +998,9 @@ private void OnColumnsChanged(object? sender, NotifyCollectionChangedEventArgs e
{
// This will do a SortAndPaginate via the propertyChanged event of the SortedColumnIndexProperty
SortedColumnIndex = newSortedColumnIndex;

InitHeaderView();
}
else
{
Reload();
}

Reload();
}

private void OnColumnSizeChanged(object? sender, EventArgs e) => Reload();
Expand Down

0 comments on commit cd7bb07

Please sign in to comment.