Yahoo! UI Library

DataTable Widget  2.2.0

Yahoo! UI Library > datatable > WidthResizer

Class WidthResizer - extends YAHOO.util.DragDrop

WidthResizer subclasses DragDrop to support resizeable Columns.

Constructor

WidthResizer ( colElId , handleElId , sGroup )
Parameters:
colElId <string> ID of the Column's TH element being resized
handleElId <string> ID of the handle element that causes the resize
sGroup <string> Group name of related DragDrop items

Methods

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


Copyright © 2007 Yahoo! Inc. All rights reserved.