code: function(ev) {
          var gridEvent;
  
          if (this.isLocked) {
              ev.preventDefault();
  
              return;
          }
  
          gridEvent = keyEvent.generate(ev);
  
          if (!gridEvent) {
              return;
          }
  
          this._lock();
  
          if (shouldPreventDefault(gridEvent)) {
              ev.preventDefault();
          }
  
          if (!isPasteEvent(gridEvent)) {
              this.domEventBus.trigger(gridEvent.type, gridEvent);
          }
      }
docs: Event handler for the keydown event
  @param {Event} ev - Event
  @private