Skip to content

stevezau/ui-grid-auto-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto scroll plugin for angular ui-grid

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

Install through bower

bower install ui-grid-auto-scroll

Add plugin as dependency to your module

angular.module("app", ["ui.grid", "ui.grid.autoScroll"]);

Usage

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>

License

The MIT License © 2015

About

Auto scroll functionality to angular ui-grid

Resources

License

Stars

Watchers

Forks

Packages

No packages published