Returns the RunnerPage objects for all the Details previews on the current page.
Syntax
getDetailsPages(recordId);
Arguments
recordId {integer}
an optional {integer}. A unique identifier of a record in a data grid on the List page.
Note: use the recordId() function in the GridRow object to obtain this parameter.
Return value
The return value is an object with table names as keys and RunnerPage objects as values.
Example
Hide the Add button for every Details preview.
var details = pageObj.getDetailsPages();
details[ 'order details' ].hideItem( 'add' );
See also:
•RunnerPage class: getMasterRecord()
•Setting up the master-details relationship between tables
•List page settings / Click actions
•Show data from a master table on the details view/edit/add page
•AJAX-based functionality: Details page records preview
•JavaScript API: RunnerPage object