Skip to content

Commit

Permalink
fix(AutoResize): Redraw all of grid on resize.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
c0bra committed Oct 8, 2014
1 parent 638bdc4 commit 1bb5367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/auto-resize-grid/js/auto-resize.js
Expand Up @@ -40,7 +40,7 @@
uiGridCtrl.grid.gridHeight = newGridHeight;
uiGridCtrl.grid.gridWidth = newGridWidth;

uiGridCtrl.grid.queueRefresh()
uiGridCtrl.grid.refresh()
.then(function () {
getDimensions();

Expand Down

0 comments on commit 1bb5367

Please sign in to comment.