code: function(e, oSelf) {
      // If tabbing to next TH label link causes THEAD to scroll,
      // need to sync scrollLeft with TBODY
      if(Ev.getCharCode(e) === 9) {
          setTimeout(function() {
              if((oSelf instanceof SDT) && oSelf._sId) {
                  oSelf._elBdContainer.scrollLeft = oSelf._elHdContainer.scrollLeft;
              }
          },0);
      }
      
      var elTarget = Ev.getTarget(e);
      var elTag = elTarget.nodeName.toLowerCase();
      var bKeepBubbling = true;
      while(elTarget && (elTag != "table")) {
          switch(elTag) {
              case "body":
                  return;
              case "input":
              case "textarea":
                  // TODO: implement textareaKeyEvent
                  break;
              case "thead":
                  bKeepBubbling = oSelf.fireEvent("theadKeyEvent",{target:elTarget,event:e});
                  break;
              default:
                  break;
          }
          if(bKeepBubbling === false) {
              return;
          }
          else {
              elTarget = elTarget.parentNode;
              if(elTarget) {
                  elTag = elTarget.nodeName.toLowerCase();
              }
          }
      }
      oSelf.fireEvent("tableKeyEvent",{target:(elTarget || oSelf._elContainer),event:e});
  }
docs: Handles keydown events on the THEAD element.
  
  @method _onTheadKeydown
  @param e {HTMLEvent} The key event.
  @param oSelf {YAHOO.widget.ScrollingDataTable} ScrollingDataTable instance.
  @private