Skip to content

Commit 1bb5367

Browse files
committed
fix(AutoResize): Redraw all of grid on resize.
The grid dimensions were the only thing being adjusted (which is what queueRefresh() does). Changed to refresh() to update the visible rows/columns. Fixes #1770
1 parent 638bdc4 commit 1bb5367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/auto-resize-grid/js/auto-resize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
uiGridCtrl.grid.gridHeight = newGridHeight;
4141
uiGridCtrl.grid.gridWidth = newGridWidth;
4242

43-
uiGridCtrl.grid.queueRefresh()
43+
uiGridCtrl.grid.refresh()
4444
.then(function () {
4545
getDimensions();
4646

0 commit comments

Comments
 (0)