angular-ui/ui-grid

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

Open

#6,601 opened on Mar 13, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
help wantedneeds: analysis

Description

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.

Contributor guide