Automatically scrolls to the bottom of the grid if new items are added and grid location is currently at the bottom.
Stops auto scrolling if ui-grid is scrolled up and resumes if ui-grid is at bottom.
View demo in codepen http://codepen.io/anon/pen/NGVKWQ
Install through bower
bower install ui-grid-auto-scroll
Add plugin as dependency to your module
angular.module("app", ["ui.grid", "ui.grid.autoScroll"]);
To add auto scrolling to your grid add the ui-grid-auto-scroll
directive to your table.
<div ui-grid="gridOptions" class="grid" ui-grid-auto-scroll></div>
The MIT License © 2015