DataGrid.addOnColumnResize

Overview | Methods | Fields | This Package | All Packages

DataGrid.addOnColumnResize

Assigns a delegate to the columnResize event.

Syntax

public void addOnColumnResize( ColumnResizeEventHandler handler )

Parameters

handler

The ColumnResizeEventHandler delegate to be notified when the event occurs.

Remarks

The columnResize event occurs when a column is resized, either programmatically or by the user. To programmatically resize a column, call its setWidth method.

Note   A column can be resized only if its allowSizing property is set to true.

Canceling the columnResize event restores the previous width of the column.

See Also   removeOnColumnResize