Community
Participate
Working Groups
// Mouse listeners for resize
_onMouseDown : function( evt ) {
this._inResize = this._isResizeLocation( evt.getPageX() );
if( !this._inMove && !this._inResize ) {
if( this._inResize ) {
if( this._isResizeLocation( evt.getPageX() ) ) {
var position = this.getLeft() + this.getWidth();
this._inResize = true;
this._table._showResizeLine( position );
this._resizeStartX = evt.getPageX();
this.setCapture( true );
evt.stopPropagation();
evt.preventDefault();
} else if( this._moveable ){
this._inMove = true;
} else if( this._moveable ) {
this._bufferedZIndex = this.getZIndex();
this.setZIndex( 1e8 );
this._table._unhookColumnMove( this );
this._offsetX = evt.getPageX() - this.getLeft();
this._initialLeft = this.getLeft();
}
},