angular-ui/ui-grid

infinite scroll dataRemovedTop() and dataRemovedBottom() broken

Open

#4.904 aberto em 24 de dez. de 2015

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
grid-infinite-scrollhelp wantedseverity: memory leakseverity: performance

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador