DataGrid.addOnPositionChange

Overview | Methods | Fields | This Package | All Packages

DataGrid.addOnPositionChange

Assigns a delegate to the positionChange event.

Syntax

public void addOnPositionChange( PositionChangeEventHandler handler )

Parameters

handler

The PositionChangeEventHandler delegate to be notified when the event occurs.

Remarks

The positionChange event occurs when the current position is moved within the grid, either programmatically or by the user. To programmatically change the current position, call setCurrentColumn or setCurrentRow. The user can change the current position by selecting another cell with the mouse or by navigating to another cell with the keyboard. (The allowArrows, enterAction, and tabAction properties determine how the keyboard can be used within the grid.)

See Also   removeOnPositionChange