angular-ui/ui-grid

grid.selection.selectedCount not refresh on clearSelectedRows()

Open

#4300 aperta il 1 set 2015

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issue

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Almost everything is in the title : when the function clearSelectedRows() is called, the property grid.selection.selectedCount is not reset to 0. So the count is not right, and when you select rows again, the former count is increased. So you can have 23 selected rows on a grid which contains only 20 elements. I'm using version 3.0.0-rc20. Please let me know if this issue has been fixed on a more recent version.

Guida contributor