angular-ui/ui-grid

infinite scroll dataRemovedTop() and dataRemovedBottom() broken

Open

#4,904 opened on Dec 24, 2015

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
grid-infinite-scrollhelp wantedseverity: memory leakseverity: performance

Description

I'm using version 3.0.7 and Chrome browser Version 47.0.2526.106 (64-bit) for Mac OS X.

I was having problems with my own code. Whenever I try to 'trim' my in-memory grid data by calling dataRemovedTop() or dataRemovedBottom() a needLoadMoreDataTop data is always triggered.

However, then I took the example/demo code from the ui-grid.info site here: http://ui-grid.info/docs/#/tutorial/212_infinite_scroll and played with it and noticed the same issue was happening.

'trimming' data does not currently work properly.

Please let me know if you need anymore data points.

Contributor guide