angular-ui/ui-grid

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

Fechada

#6.601 aberto em 13 de mar. de 2018

 (0 comentário) (0 reação) (0 responsável)JavaScript (2.496 forks)batch import
help wantedneeds: analysis

Métricas do repositório

Stars
 (5.395 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador