JSDO properties, methods, and events reference : getListViewRecord( ) method
  

getListViewRecord( ) method

Returns a JSRecord object for a specified item in a list view.
Return type: progress.data.JSRecord class
Applies to: progress.ui.UIHelper class, table reference property (UIHelper class)

Syntax

uihelper-ref.getListViewRecord ( list_item )
uihelper-ref.table-ref.getListViewRecord ( list_item )
uihelper-ref
A reference to a UIHelper instance. You can call the method on uihelper-ref if the JSDO associated with the instance has only a single table reference.
table-ref
A table reference on the JSDO associated with the UIHelper instance, and that table reference has the record displayed as the specified item in the list view.
list_item
The HTML list item element corresponding to the desired record, provided as a string in the following form:
Syntax:
<li data-id="id-value"> ... </li>

See also:

addItem( ) method, getFormRecord( ) method, setListView( ) method