Fires when the data set exposed by a data source object changes. 
Syntax
| Inline HTML | <ELEMENT ondatasetchanged = "handler" ... >
 | All platforms | 
|---|
| Event property | object.ondatasetchanged = handler | JScript only | 
|---|
| object.ondatasetchanged = GetRef("handler") | Visual Basic Scripting Edition (VBScript) 5.0 or later only | 
| Named script | 
<SCRIPT FOR =
object EVENT = ondatasetchanged>
 | Internet Explorer only | 
|---|
Event Information
| Bubbles | Yes | 
|---|
| Cancels | No | 
|---|
| To invoke | - Make initial data available from a data source object. 
 - Have the data source object expose a different data set. 
 - Perform a filter operation. 
 
  | 
|---|
| Default action | 
Signals that the data set has changed.  | 
|---|
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.
Available Properties
| altKey | 
Sets or retrieves a value that indicates the state of the ALT key.  | 
|---|
| altLeft | 
Sets or retrieves a value that indicates the state of the left ALT key. | 
|---|
| cancelBubble | 
Sets or retrieves whether the current event should bubble up the hierarchy of event handlers.  | 
|---|
| ctrlLeft | 
Sets or retrieves the state of the left CTRL key.
 | 
|---|
| qualifier | 
Sets or retrieves the name of the data member provided by a data source object.  | 
|---|
| reason | 
Sets or retrieves the result of the data transfer for a data source object.  | 
|---|
| recordset | 
Sets or retrieves from a data source object a reference to the default record set. | 
|---|
| shiftLeft | 
Retrieves the state of the left SHIFT key.
 | 
|---|
| srcElement | 
Sets or retrieves the object that fired the event.  | 
|---|
| type | 
Sets or retrieves the event name from the event object.  | 
|---|
Remarks
This event originates from data source objects. 
Standards Information
There is no public standard that applies to this event.
Applies To
See Also
Introduction to Data Binding, ondataavailable, ondatasetcomplete