We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7ab65 commit f4054b7Copy full SHA for f4054b7
src/features/edit/js/gridEdit.js
@@ -958,7 +958,7 @@
958
if (uiGridCtrl && uiGridCtrl.grid.api.cellNav) {
959
var viewPortKeyDownUnregister = uiGridCtrl.grid.api.cellNav.on.viewPortKeyPress($scope, function (evt, rowCol) {
960
if (uiGridEditService.isStartEditKey(evt)) {
961
- ngModel.$setViewValue(String.fromCharCode(evt.keyCode), evt);
+ ngModel.$setViewValue(String.fromCharCode( typeof evt.which === 'number' ? evt.which : evt.keyCode), evt);
962
ngModel.$render();
963
}
964
viewPortKeyDownUnregister();
0 commit comments