angular-ui/ui-grid

selectAllVisibleRows() should be selecting only the current page rows

Open

#6,479 opened on Nov 26, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
good first issue

Description

In the case of client side paginated data, selectAll button action should be selecting only current page rows. Also when pages are navigated, the selectAll button should be deselected.

Is this a bug or an intended feature? In selectAllVisibleRows, shouldnt grid.getVisibleRows() be iterated instead of grid.rows?

Contributor guide