angular-ui/ui-grid

Treebase getRowChildren returning wrong results

Open

#5 632 ouverte le 18 août 2016

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
good first issue

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

The getRowChildren() function on the treebase control seems to be returning unexpected rows when a row processor is registered for filtering. The issue can be reproduced in the following plunker. http://plnkr.co/edit/xHfc63yZWdgr1O3qYjIm

On the plunker, type "josh" and press the "Log First Group Visible Rows" button. Notice that in the console, 3 rows will be logged, 2 of which actually belong to the first group, but you will notice that there is an entity in there that isn't even a part of this group, yet getRowChildren is stating that this is a child of that row.

Guide contributeur