title: ng-grid won’t scroll to last row
body: <p>Using ng-grid I want to show a newly added row by scrolling to it when it is added to the bottom of the list.</p>
  
  <p>please see the plunk: <a href="http://plnkr.co/edit/4jgy9wwr2HRhfhgKMKcX?p=preview" rel="nofollow">http://plnkr.co/edit/4jgy9wwr2HRhfhgKMKcX?p=preview</a></p>
  
  <pre><code>var grid = $scope.gridOptions.ngGrid;
  grid.$viewport.scrollTop((($scope.myData.length - 1)* grid.config.rowHeight));
  </code></pre>
  
  <p>I don’t understand why the grid won’t scroll all the way down. I tried adding the rowHeight ever subtracting it but every time the grid just will not scroll to the very last row.</p>
  
  <p>I know by adding the records to the top of the list will solve the problem by I am sorting the grid and by its nature the empty record will be pushed to the bottom.</p>