code: function(cell) {
      var elCell;
      var el = Dom.get(cell);
  
      // Validate HTML element
      if(el && (el.ownerDocument == document)) {
          // Validate TD element
          if(el.nodeName.toLowerCase() != "td") {
              // Traverse up the DOM to find the corresponding TR element
              elCell = Dom.getAncestorByTagName(el, "td");
          }
          else {
              elCell = el;
          }
          
          // Make sure the TD is in this TBODY
          // Bug 2527707 and bug 2263558
          if(elCell && ((elCell.parentNode.parentNode == this._elTbody) || (elCell.parentNode.parentNode === null))) {
              // Now we can return the TD element
              return elCell;
          }
      }
      else if(cell) {
          var oRecord, nColKeyIndex;
  
          if(lang.isString(cell.columnKey) && lang.isString(cell.recordId)) {
              oRecord = this.getRecord(cell.recordId);
              var oColumn = this.getColumn(cell.columnKey);
              if(oColumn) {
                  nColKeyIndex = oColumn.getKeyIndex();
              }
  
          }
          if(cell.record && cell.column && cell.column.getKeyIndex) {
              oRecord = cell.record;
              nColKeyIndex = cell.column.getKeyIndex();
          }
          var elRow = this.getTrEl(oRecord);
          if((nColKeyIndex !== null) && elRow && elRow.cells && elRow.cells.length > 0) {
              return elRow.cells[nColKeyIndex] || null;
          }
      }
  
      return null;
  }
docs: Returns DOM reference to a TD element.
  
  @method getTdEl
  @param cell {HTMLElement | String | Object} TD element or child of a TD element, or
  object literal of syntax {record:oRecord, column:oColumn}.
  @return {HTMLElement} Reference to TD element.