angular-ui/ui-grid
saveState (in Demo) reselects incorrect rows after sorting (related to: #5663)
Fechada
#5.706 aberto em 29 de set. de 2016
good first issue
Métricas do repositório
- Stars
- (5.395 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
To reproduce:
- go: http://ui-grid.info/docs/#/tutorial/208_save_state
- select first three rows
- click Save
- sort on first column
- click Restore
Result: the incorrect three rows are selected.
Observation: as noted in #5663, suspect the use of row indexes is the cause of this issue.
Further: With external pagination, selection or sorting this issue is compounded.