code: function(row) {
      // By Record
      if(row instanceof YAHOO.widget.Record) {
          return document.getElementById(row.getId());
      }
      // By page row index
      else if(lang.isNumber(row)) {
          var allRows = this._elTbody.rows;
          return ((row > -1) && (row < allRows.length)) ? allRows[row] : null;
      }
      // By ID string or element reference
      else {
          var elRow = (lang.isString(row)) ? document.getElementById(row) : row;
  
          // Validate HTML element
          if(elRow && (elRow.ownerDocument == document)) {
              // Validate TR element
              if(elRow.nodeName.toLowerCase() != "tr") {
                  // Traverse up the DOM to find the corresponding TR element
                  elRow = Dom.getAncestorByTagName(elRow,"tr");
              }
  
              return elRow;
          }
      }
  
      return null;
  }
docs: Returns the corresponding TR reference for a given DOM element, ID string or
  directly page row index. If the given identifier is a child of a TR element,
  then DOM tree is traversed until a parent TR element is returned, otherwise
  null.
  
  @method getTrEl
  @param row {HTMLElement | String | Number | YAHOO.widget.Record} Which row to
  get: by element reference, ID string, page row index, or Record.
  @return {HTMLElement} Reference to TR element, or null.