diff --git a/src/TableView.cs b/src/TableView.cs index 31eeda9..e065700 100644 --- a/src/TableView.cs +++ b/src/TableView.cs @@ -758,6 +758,24 @@ private void UpdateVerticalScrollBarMargin() } } + /// + /// Refreshes the items view of the TableView. + /// + public void RefreshView() + { + DeselectAll(); + _collectionView.Refresh(); + } + + /// + /// Refreshes the sorting applied to the items in the TableView. + /// + public void RefreshSorting() + { + DeselectAll(); + _collectionView.RefreshSorting(); + } + /// /// Clears all sorting applied to the items. ///