diff --git a/Dashboard/Controls/QueryPerformanceContent.xaml.cs b/Dashboard/Controls/QueryPerformanceContent.xaml.cs index 48fe2a57..fb9a5e82 100644 --- a/Dashboard/Controls/QueryPerformanceContent.xaml.cs +++ b/Dashboard/Controls/QueryPerformanceContent.xaml.cs @@ -227,6 +227,17 @@ public void Initialize(DatabaseService databaseService, Action? statusCa _statusCallback = statusCallback; } + public void RefreshGridBindings() + { + QueryStatsDataGrid.Items.Refresh(); + ProcStatsDataGrid.Items.Refresh(); + QueryStoreDataGrid.Items.Refresh(); + QueryStoreRegressionsDataGrid.Items.Refresh(); + ActiveQueriesDataGrid.Items.Refresh(); + CurrentActiveQueriesDataGrid.Items.Refresh(); + LongRunningQueryPatternsDataGrid.Items.Refresh(); + } + /// /// Sets the time range for all sub-tabs. /// diff --git a/Dashboard/ServerTab.xaml b/Dashboard/ServerTab.xaml index 0c630634..625277b4 100644 --- a/Dashboard/ServerTab.xaml +++ b/Dashboard/ServerTab.xaml @@ -104,6 +104,13 @@