code: function(to) {
          var td = this.getTdEl(to);
          if(td) {
              this.clearScrollPositions();
              this.getBdContainerEl().scrollLeft = td.offsetLeft;
              this.getBdContainerEl().scrollTop = td.parentNode.offsetTop;
          }
          else {
              var tr = this.getTrEl(to);
              if(tr) {
                  this.clearScrollPositions();
                  this.getBdContainerEl().scrollTop = tr.offsetTop;
              }
          }
  }
docs: Scrolls to given row or cell
  
  @method scrollTo
  @param to {YAHOO.widget.Record | HTMLElement } Itme to scroll to.