onrowexit event | rowexit event
Occurs on a data source object before the current row in it changes.
If the current row is not an existing row (not initialized, pointing to the position before the first record (BOF is true) or after the last record (EOF is true)) and the current row changes, the onrowexit event is not fired. onrowenter event to receive a notification when the current row has changed.Use the
How to register:
|object.onrowexit = handler;|
|object.attachEvent ("onrowexit", handler);|
You can find the related objects in the Supported by objects section below.
The event object is accessible to all event handlers in all browsers. The properties of the event object contain additional information about the current event. To get further details about these properties and the possible event handler registration methods, please see the page for the event object.
Actions that invoke the onrowexit event:
- Changing the current row (e.g. by the MoveFirst, MoveLast, MoveNext or MovePrevious method of the recordset object or deleting the current row from the data source, ...)
The order of events related to the onrowexit event:
The onrowenter event always occurs after the onrowexit event.
Example HTML code 1:
This example illustrates the use of the onrowexit event:
Did you find this example helpful?
User Contributed Comments