Skip to content

Commit

Permalink
remove unneeded method
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Dec 30, 2023
1 parent 6091038 commit a14e64b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Maui.DataGrid/DataGrid.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,6 @@ private void InitHeaderView()
SetColumnsBindingContext();

_headerView.Children.Clear();
ResetSortingOrders();

_headerView.Padding = new(BorderThickness.Left, BorderThickness.Top, BorderThickness.Right, 0);
_headerView.ColumnSpacing = BorderThickness.HorizontalThickness;
Expand Down Expand Up @@ -1300,14 +1299,6 @@ private void InitHeaderView()
}
}

private void ResetSortingOrders()
{
foreach (var column in Columns)
{
column.SortingOrder = SortingOrder.None;
}
}

private void SetColumnsBindingContext()
{
if (Columns != null)
Expand Down

0 comments on commit a14e64b

Please sign in to comment.