angular-ui/ui-grid

Question about grid.getVisibleRows()

Open

#6 294 ouverte le 4 juil. 2017

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

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? :)

Guide contributeur