angular-ui/ui-grid

Question about grid.getVisibleRows()

Open

#6,294 建立於 2017年7月4日

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

倉庫指標

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

描述

According to the angular-ui-grid@4.0.6

Here is the code: (about line 5560)

Grid.prototype.getVisibleRows = function getVisibleRows() {
    return this.renderContainers.body.visibleRowCache;
};

Why visible rows from the visibleRowCache? Because the visibleRowCache just have the current page data. Therefore, we need to get visible rows by using row.visible, rather than grid.getVisibleRows. But i don't know whether it is a bug?

Will you pretty good guys to fix this problem? :)

貢獻者指南