angular-ui/ui-grid

Selection API appears to keep select Count when data changes

Open

#5,290 opened on Apr 6, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
help wanted

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I have a grid that can be manipulated with actions. When an action is made, it asks to refresh the grid and the data gets rewrited. But the selection count keeps the same. E.g.:

1- Have a grid. 2- Select a row. 3- Make an action on the row. 4- Refresh the grid. the row disappears because business rules. 5- Select another row. The count is 2

Contributor guide