From 38fe8c6ac3770f3628aa67b5cfe950dc173b5bf9 Mon Sep 17 00:00:00 2001 From: RolandBuchholz Date: Wed, 23 Jul 2025 20:12:40 +0200 Subject: [PATCH 1/2] AddedRefreshandRefreshSorting --- src/TableView.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/TableView.cs b/src/TableView.cs index 15f41d6b..0ca95444 100644 --- a/src/TableView.cs +++ b/src/TableView.cs @@ -758,6 +758,24 @@ private void UpdateVerticalScrollBarMargin() } } + /// + /// Manually refresh. + /// + public void Refresh() + { + DeselectAll(); + _collectionView.Refresh(); + } + + /// + /// Refreshes the all sorting. + /// + public void RefreshSorting() + { + DeselectAll(); + _collectionView.RefreshSorting(); + } + /// /// Clears all sorting applied to the items. /// From ff2a47ca8b34c7704016f516d0c9afef36a99c29 Mon Sep 17 00:00:00 2001 From: RolandBuchholz Date: Fri, 29 Aug 2025 18:16:22 +0200 Subject: [PATCH 2/2] few tweaks --- src/TableView.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TableView.cs b/src/TableView.cs index 0ca95444..552b5d2e 100644 --- a/src/TableView.cs +++ b/src/TableView.cs @@ -759,16 +759,16 @@ private void UpdateVerticalScrollBarMargin() } /// - /// Manually refresh. + /// Refreshes the items view of the TableView. /// - public void Refresh() + public void RefreshView() { DeselectAll(); _collectionView.Refresh(); } /// - /// Refreshes the all sorting. + /// Refreshes the sorting applied to the items in the TableView. /// public void RefreshSorting() {