angular-ui/ui-grid

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

Open

#3,542 创建于 2015年5月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (2,496 fork)batch import
grid-row-edithelp wantedtype: bug

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南