angular-ui/ui-grid

Excel-like Editing bug in IE

Open

#3811 aperta il 19 giu 2015

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
Browser IEhelp wantedtype: bug

Metriche repository

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

Descrizione

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) 

Guida contributor