DataGrid.addOnColumnUpdating

Overview | Methods | Fields | This Package | All Packages

DataGrid.addOnColumnUpdating

Assigns a delegate to the columnUpdating event.

Syntax

public void addOnColumnUpdating( ColumnUpdatingEventHandler handler )

Parameters

handler

The ColumnUpdatingEventHandler delegate to be notified when the event occurs.

Remarks

The columnUpdating event occurs when the user changes a cell's value, but before the underlying recordset is updated. For more information, see the DataGrid Control overview.

Note   The user can change a cell's value only if the recordset allows modifications, the allowUpdate property of the DataGrid control is set to true, and the readOnly property of the cell's column is set to false.

Canceling the columnUpdating event restores the cell's previous value and prevents the updated and columnUpdated events from occurring.

See Also   removeOnColumnUpdating