angular-ui/ui-grid

Excel-like Editing bug in IE

Open

#3,811 创建于 2015年6月19日

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

仓库指标

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

描述

Hi, I am implement this feature and notice that there is an issue with tab key navigation when using IE (version 10).

I clicked on a cell, keyed a character, cell displayed new value but when I hit the tab key, the cell reverted back to old value. it only happened when I keyed in a single character. if i keyed in more than 1 then it worked fine. the problem only exists in IE, not in Firefox or Chrome. below is my gridOptions setting:

.grid( ui-grid="{
  data: grid.data, 
  columnDefs : columns, 
  showFooter: false, 
  enableVerticalScrollbar:0,
  enableHorizontalScrollbar: 2, 
  enableCellSelection: true, 
  enableRowSelection: false, 
  enableCellEdit: true}", 
  ng-style="getTableHeight(grid,'grid_'+$index)",ui-grid-edit,ui-grid-cellNav,ui-grid-pinning) 

贡献者指南