beforeFill event
- Last Updated: August 28, 2015
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Fires on the JSDO before a call to the fill( ) method executes and sends a Read operation request
to its Data Object resource.
Alias:
beforeRead
Applies to: progress.data.JSDO class
Syntax
The following parameters appear in the signature of any event handler (callback) function (or functions) that you subscribe to this event:
|
- jsdo
- A reference to the JSDO that is invoking the Read operation on the resource. For more information, see the description of the jsdo property of the request object.
- request
- A reference to the request object before the Read operation request is sent to the resource. For more information, see the description of the request object.
Application code can subscribe a callback to this event by invoking the
subscribe( ) method on a JSDO instance.
Example
The following code fragment subscribes the callback function, onBeforeFill, to handle the beforeFill event fired on the JSDO, myjsdo:
|
See also:
afterFill event, fill( ) method, subscribe( ) method (JSDO class), unsubscribe( ) method (JSDO class)