Skip to content

Commit 11b61a7

Browse files
committed
Re-render summary panel when search/sort is applied
1 parent 61b879b commit 11b61a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vs/workbench/services/positronDataExplorer/browser/tableSummaryDataGridInstance.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ export class TableSummaryDataGridInstance extends DataGridInstance {
402402
await this.updateLayoutEntries();
403403
// invalidate the cache when the search and sort is removed
404404
await this.fetchData(this.hasNoSearchOrSort());
405+
// Force a re-render when the search or sort options change
406+
this.fireOnDidUpdateEvent();
405407
}
406408

407409
/**
@@ -413,6 +415,8 @@ export class TableSummaryDataGridInstance extends DataGridInstance {
413415
await this.updateLayoutEntries();
414416
// invalidate the cache when the search and sort is removed
415417
await this.fetchData(this.hasNoSearchOrSort());
418+
// Force a re-render when the search or sort options change
419+
this.fireOnDidUpdateEvent();
416420
}
417421

418422
//#endregion Public Methods

0 commit comments

Comments
 (0)