angular-ui/ui-grid

selectAllVisibleRows() should be selecting only the current page rows

Chiusa

#6479 aperta il 26 nov 2017

 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issue

Metriche repository

Star
 (5395 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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?

Guida contributor