public/javascripts/yui/datatable/datatable.js
function() {
    // Move Editor
    var elContainer = this.getContainerEl(),
        elTd = this.getTdEl(),
        x = Dom.getX(elTd),
        y = Dom.getY(elTd);

    //TODO: remove scrolling logic
    // SF doesn't get xy for cells in scrolling table
    // when tbody display is set to block
    if(isNaN(x) || isNaN(y)) {
        var elTbody = this.getDataTable().getTbodyEl();
        x = elTd.offsetLeft + // cell pos relative to table
                Dom.getX(elTbody.parentNode) - // plus table pos relative to document
                elTbody.scrollLeft; // minus tbody scroll
        y = elTd.offsetTop + // cell pos relative to table
                Dom.getY(elTbody.parentNode) - // plus table pos relative to document
                elTbody.scrollTop + // minus tbody scroll
                this.getDataTable().getTheadEl().offsetHeight; // account for fixed THEAD cells
    }

    elContainer.style.left = x + "px";
    elContainer.style.top = y + "px";
}
function() {
    // Move Editor
    var elContainer = this.getContainerEl(),
        elTd = this.getTdEl(),
        x = Dom.getX(elTd),
        y = Dom.getY(elTd);

    //TODO: remove scrolling logic
    // SF doesn't get xy for cells in scrolling table
    // when tbody display is set to block
    if(isNaN(x) || isNaN(y)) {
        var elTbody = this.getDataTable().getTbodyEl();
        x = elTd.offsetLeft + // cell pos relative to table
                Dom.getX(elTbody.parentNode) - // plus table pos relative to document
                elTbody.scrollLeft; // minus tbody scroll
        y = elTd.offsetTop + // cell pos relative to table
                Dom.getY(elTbody.parentNode) - // plus table pos relative to document
                elTbody.scrollTop + // minus tbody scroll
                this.getDataTable().getTheadEl().offsetHeight; // account for fixed THEAD cells
    }

    elContainer.style.left = x + "px";
    elContainer.style.top = y + "px";
}
function ( ) { // Move Editor var elContainer = this . getContainerEl ( ) , elTd = this . getTdEl ( ) , x = Dom . getX ( elTd ) , y = Dom . getY ( elTd ) ; //TODO: remove scrolling logic // SF doesn't get xy for cells in scrolling table // when tbody display is set to block if ( isNaN ( x ) || isNaN ( y ) ) { var elTbody = this . getDataTable ( ) . getTbodyEl ( ) ; x = elTd . offsetLeft + // cell pos relative to table Dom . getX ( elTbody . parentNode ) - // plus table pos relative to document elTbody . scrollLeft ; // minus tbody scroll y = elTd . offsetTop + // cell pos relative to table Dom . getY ( elTbody . parentNode ) - // plus table pos relative to document elTbody . scrollTop + // minus tbody scroll this . getDataTable ( ) . getTheadEl ( ) . offsetHeight ; // account for fixed THEAD cells } elContainer . style . left = x + "px" ; elContainer . style . top = y + "px" ; }
Moves container into position for display.

@method move
Moves container into position for display .