public/javascripts/yui/datatable/datatable.js
function(e) {
            var newX = YAHOO.util.Event.getXY(e)[0];
            if(newX > YAHOO.util.Dom.getX(this.headCellLiner)) {
                var offsetX = newX - this.startX;
                var newWidth = this.startWidth + offsetX - this.nLinerPadding;
                if(newWidth > 0) {
                    this.datatable.setColumnWidth(this.column, newWidth);
                }
            }
        }
function(e) {
            var newX = YAHOO.util.Event.getXY(e)[0];
            if(newX > YAHOO.util.Dom.getX(this.headCellLiner)) {
                var offsetX = newX - this.startX;
                var newWidth = this.startWidth + offsetX - this.nLinerPadding;
                if(newWidth > 0) {
                    this.datatable.setColumnWidth(this.column, newWidth);
                }
            }
        }
function ( e ) { var newX = YAHOO . util . Event . getXY ( e ) [ 0 ] ; if ( newX > YAHOO . util . Dom . getX ( this . headCellLiner ) ) { var offsetX = newX - this . startX ; var newWidth = this . startWidth + offsetX - this . nLinerPadding ; if ( newWidth > 0 ) { this . datatable . setColumnWidth ( this . column , newWidth ) ; } } }
Handles drag events on the Column resizer.

@method onDrag
@param e {string} The drag event
Handles drag events on the Column resizer .