01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

progress.ui.UIHelper class<br />

Table 19: progress.ui.UIHelper table-reference methods (2 of 2)<br />

Member<br />

display( ) method Copies the field values of a given record to<br />

corresponding fields in the current HTML<br />

document for display in the form on the detail page<br />

getFormFields( ) method Reads the schema of the specified table and<br />

returns HTML text that defines corresponding input<br />

fields to appear on the form on the detail page<br />

getFormRecord( ) method Returns a JSRecord object for the record shown on<br />

the form on the detail page<br />

getListViewRecord( ) method Returns a JSRecord object for a specified item in a<br />

list view<br />

setDetailPage( ) method Specifies the HTML page that contains the form in<br />

which item details are displayed<br />

setListView( ) method Defines a list view for a given table<br />

Events This class has no events.<br />

Brief description<br />

(See also the reference entry)<br />

Example The sample <strong>Mobile</strong> app shown below is followed by the code for its index page<br />

(index.html) and client logic (customers.js):<br />

168 <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!