From a14e64bf0e624c6832e6b729abfdd45ea07d3e59 Mon Sep 17 00:00:00 2001 From: Edward Miller Date: Fri, 29 Dec 2023 22:03:58 -0600 Subject: [PATCH] remove unneeded method --- Maui.DataGrid/DataGrid.xaml.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Maui.DataGrid/DataGrid.xaml.cs b/Maui.DataGrid/DataGrid.xaml.cs index 2d3f71c..415eff1 100644 --- a/Maui.DataGrid/DataGrid.xaml.cs +++ b/Maui.DataGrid/DataGrid.xaml.cs @@ -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; @@ -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)