angular-ui/ui-grid

row edit with uneditable cell doesn't fire save event...

Open

#3542 aperta il 20 mag 2015

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
grid-row-edithelp wantedtype: bug

Metriche repository

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

Descrizione

Hello again,

Please see this plnkr:

http://plnkr.co/edit/Oj0IeJubS7biWf9bhgVI?p=preview

Take a look at the first grid:

  1. Press the add row button.
  2. Edit the name and press tab
  3. Edit the gender and press tab
  4. Edit the age and press tab
  5. Notice that the grid saves the data...

Repeat the same steps in the second grid... The only difference is that the "age" column is not editable. Notice that the row save event doesn't fire after tabbing away from the bottom/rightmost cell if it's not editable.

I've tried this same code inserting the by inserting the blank item at the top and it works in both cases...

Am I doing something incorrectly here or is this a bug?

Guida contributor