Skip to content

Commit

Permalink
uses RebuildGrid() instead of UpdateGridLayout to avoid whitespace fo…
Browse files Browse the repository at this point in the history
…r (absent) scrollbar
  • Loading branch information
Joe Ibershoff committed Nov 27, 2013
1 parent 65d7eba commit b04b494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ng-grid-flexible-height.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function ngGridFlexibleHeightPlugin (opts) {
self.grid.$viewport.css('height', newViewportHeight + 'px');
self.grid.$root.css('height', (newViewportHeight + extraHeight) + 'px');
self.scope.baseViewportHeight = newViewportHeight;
self.domUtilityService.UpdateGridLayout(self.scope, self.grid);
self.domUtilityService.RebuildGrid(self.scope, self.grid);
}
};
self.scope.catHashKeys = function () {
Expand Down

0 comments on commit b04b494

Please sign in to comment.