YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Yahoo! UI Library

DataTable Widget  2.5.0

Yahoo! UI Library > datatable > YAHOO.util.ColumnResizer

Show Private Show Protected

Class YAHOO.util.ColumnResizer - extends YAHOO.util.DDProxy

ColumnResizer subclasses DragDrop to support resizeable Columns.

Constructor

YAHOO.util.ColumnResizer ( oDataTable , oColumn , elTh , sHandleElId , elProxy )
Parameters:
oDataTable <YAHOO.widget.DataTable> DataTable instance.
oColumn <YAHOO.widget.Column> Column instance.
elTh <HTMLElement> TH element reference.
sHandleElId <String> DOM ID of the handle element that causes the resize.
elProxy <HTMLElement> Resizer proxy element.

Properties inherited from YAHOO.util.DDProxy:

Properties inherited from YAHOO.util.DD:

Methods

clickValidator

private void clickValidator ( e )
Custom clickValidator to ensure Column is not in hidden state.
Parameters:
e <Event>
Returns: void

onDrag

void onDrag ( e )
Handles drag events on the Column resizer.
Parameters:
e <string> The drag event
Returns: void

onMouseDown

void onMouseDown ( e )
Handles mousedown events on the Column resizer.
Parameters:
e <string> The mousedown event
Returns: void

onMouseUp

void onMouseUp ( e )
Handles mouseup events on the Column resizer.
Parameters:
e <string> The mouseup event
Returns: void

resetResizerEl

void resetResizerEl ( )
Resets resizer element.
Returns: void


Copyright © 2007 Yahoo! Inc. All rights reserved.