angularjs - How to implement infinite scrolling with ng-grid -


currently, using ng-grid show data in tabular way. also, tables have rather lots of records, am using server-side paging fetch data.

i not quite satisfied solution. fetch more data scrollbar reaches end of window (something nginfinitescroll directive). haven't found way ng-grid.

so, question is: can done ng-grid, , if yes - how? there seems no out of box solution in ng-grid problem.

when user has scrolled bottom of grid event fires. useful infinite/server-side scrolling.

example:

scope.$on('nggrideventscroll', function () {      //append rows grid }); 

use event notified when user scrolled bottom of grid can append more rows grid.

resource: https://github.com/angular-ui/ng-grid/wiki/grid-events


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -