01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

eforeFill event<br />

beforeFill event<br />

Fires before the JSDO, by means of a fill( ) call, sends a request to the AppServer<br />

to read a temp-table or ProDataSet into JSDO local storage.<br />

Applies to: progress.data.JSDO class, fill( ) method<br />

The following parameters appear in the signature of the event handler function:<br />

Syntax<br />

function ( jsdo , request )<br />

jsdo<br />

request<br />

A reference to the JSDO that is invoking the read operation. For more information,<br />

see the description of the jsdo property of the request object.<br />

A reference to the request object returned before the read operation begins. For<br />

more information, see the description of the request object.<br />

Example:<br />

myjsdo.subscribe('beforeFill', onBeforeFill);<br />

myjsdo.fill();<br />

function osBeforeFill ( jsdo , request ) {<br />

/* for instance, do any preparation for receiving data from the server */<br />

};<br />

See also: subscribe( ) method, unsubscribe( ) method<br />

200 <strong>OpenEdge</strong> ® <strong>Development</strong>: <strong>Mobile</strong> <strong>Applications</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!