angular-ui/ui-grid

Excel-like Editing bug in IE

已關閉

#3,811 建立於 2015年6月19日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
Browser IEhelp wantedtype: bug

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (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) 

貢獻者指南