DataGrid.addOnHeaderClick

Overview | Methods | Fields | This Package | All Packages

DataGrid.addOnHeaderClick

Assigns a delegate to the headerClick event.

Syntax

public void addOnHeaderClick( ColumnEventHandler handler )

Parameters

handler

The ColumnEventHandler delegate to be notified when the event occurs.

Remarks

The headerClick event occurs when the user clicks a column header. Column headers are displayed if the columnHeaders property is set to true.

Clicking a column header also selects the column. After the headerClick event occurs, the selChange event is triggered.

See Also   removeOnHeaderClick