diff --git a/src/sql/workbench/services/insights/browser/insightsDialogView.ts b/src/sql/workbench/services/insights/browser/insightsDialogView.ts index db3a6a9f71..f9632dceea 100644 --- a/src/sql/workbench/services/insights/browser/insightsDialogView.ts +++ b/src/sql/workbench/services/insights/browser/insightsDialogView.ts @@ -228,10 +228,8 @@ export class InsightsDialogView extends Modal { this._bottomTableData.clear(); this._bottomTableData.push(resourceArray); - if (bottomTableView.isExpanded()) { - bottomTableView.setExpanded(false); - bottomTableView.setExpanded(true); - } + this._bottomTable.grid.invalidateAllRows(); + this._bottomTable.grid.render(); this._enableTaskButtons(true); } else { this._enableTaskButtons(false);