angular-ui/ui-grid
saveState (in Demo) reselects incorrect rows after sorting (related to: #5663)
Chiusa
#5706 aperta il 29 set 2016
good first issue
Metriche repository
- Star
- (5395 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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.