angular-ui/ui-grid

grid.selection.selectedCount not refresh on clearSelectedRows()

Open

#4.300 aberto em 1 de set. de 2015

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issue

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador