Overview | Methods | Fields | This Package | All Packages
Assigns a delegate to the updating event.
Syntax
public void addOnUpdating( CancelEventHandler handler )
Parameters
handler
The CancelEventHandler delegate to be notified when the event occurs.
Remarks
The updating 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 updating event restores the cell's previous value and prevents the updated and columnUpdated events from occurring.
See Also removeOnUpdating