angular-ui/ui-grid

Treebase getRowChildren returning wrong results

Open

#5,632 建立於 2016年8月18日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
good first issue

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南