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) 

貢獻者指南