DHTML Events
Fires to indicate that all current data is available from the data source object.
Inline HTML |
<element ondatasetcomplete = "handler" ... > |
All platforms |
Event property |
object.ondatasetcomplete = handler |
ECMA-262 Language Specification |
Named script |
<script FOR=object EVENT=ondatasetcomplete> |
Internet Explorer® only |
Bubbles |
Yes |
Cancels |
No |
To invoke |
Allow data set change to complete. |
Default action |
Sets the reason property of the event object to indicate the reason for completion to one of three values.
- 0 Data transmitted successfully.
- 1 Data transfer aborted.
- 2 Data transfer error.
|
This event originates from data source objects.
While event handlers in the Document Object Model do not receive parameters directly, the handler can query the event object for data.
Event Object Properties
bookmarks |
Returns a collection of ADO bookmarks tied to the rows effected by the current event. |
boundElements |
Returns a collection of all elements on the page bound to a dataset. |
cancelBubble |
Sets or retrieves whether the current event should bubble up the hierarchy of event handlers. |
dataFld |
Sets or retrieves which field of a given data source (as specified by the dataSrc property) to bind to the given object. |
reason |
Retrieves the disposition of data transfer for a data source object. |
recordset |
Retrieves the recordset if the object is a data provider. |
srcElement |
Retrieves the object that fired the event. |
type |
Retrieves the event name from the event object. |
APPLET, OBJECT, XML
ondataavailable, ondatasetchanged