Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > RunnerPage object > Methods

JavaScript API: RunnerPage object > getDetailsPages( recordId )

Scroll Prev Next More

 

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: hideItem()

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 onload events

JavaScript API: RunnerPage object

JavaScript API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software