angular-ui/ui-grid

grid.selection.selectedCount not refresh on clearSelectedRows()

Open

#4,300 opened on Sep 1, 2015

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

Description

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.

Contributor guide