angular-ui/ui-grid

grid.renderContainers.body.visibleRowCache not updating (3.0.7)

Open

#5.120 aberto em 16 de fev. de 2016

Ver no GitHub
 (3 comments) (2 reactions) (0 assignees)JavaScript (2.496 forks)batch import
grid-tree-viewhelp wantedwaiting-response

Métricas do repositório

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

Description

Re: ui-grid 3.0.7 (tree implementation)

I have been unable to figure out why grid.renderContainers.body.visibleRowCache does not refresh when splicing in more data ($scope.gridOptions.data) as child of a specific node in the tree (I've added a few rows, but count does not change even though I see these rows displaying within the grid).

It does set the cache to my initial data size (61 rows) but does not subsequently update as I add more data.

How does visibleRowCache work? I thought it displays exactly what is being displayed in the Tree/Grid? What am I missing, do I need to invoke something additionally to update rows in visibleRowCache?

Thanks!

Guia do colaborador