Overview | Methods | Fields | This Package | All Packages
Assigns a delegate to the selChange event.
Syntax
public void addOnSelChange( CancelEventHandler handler )
Parameters
handler
The CancelEventHandler delegate to be notified when the event occurs.
Remarks
The selChange event occurs when rows or columns are selected in the grid, either programmatically or by the user. To programmatically select rows or columns, call setSelectedRows or setSelectedColumns. The user can select rows or columns by clicking the row selectors or column headers, respectively. Row selectors and column headers are displayed if the rowSelectors and columnHeaders properties are set to true.
Note When the user clicks a column header, a headerClick event is generated before the selChange event.
Canceling the selChange event restores the grid's previous selection.
See Also removeOnSelChange