diff --git a/Maui.DataGrid/DataGrid.xaml.cs b/Maui.DataGrid/DataGrid.xaml.cs index 64cfeb1..68f1a55 100644 --- a/Maui.DataGrid/DataGrid.xaml.cs +++ b/Maui.DataGrid/DataGrid.xaml.cs @@ -1303,6 +1303,7 @@ private void OnColumnsChanged(object? sender, NotifyCollectionChangedEventArgs e private void OnItemsSourceCollectionChanged(object? sender, NotifyCollectionChangedEventArgs e) { + _internalItemsHashSet = null; SortAndPaginate(); }