angular-ui/ui-grid

Bug: Updating grid data array while in cell edit mode results in incorrect cell being edited

Open

#6601 aperta il 13 mar 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wantedneeds: analysis

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

What's wrong:
When user is editing a cell and the underlying grid data array is updated by adding or removing rows, the edit mode is shifted to incorrect cell.

How to repeat:
See Plunker

Expected behavior:
a: Stop edit mode when number of rows is changed while a cell is in edit mode.
(potentially easier to implement(?), but not ideal UX) b: Keep edit mode on correct cell.

Guida contributor