Please enable JavaScript to view this site.

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

Javascript API: RunnerPage object

Scroll Prev Next More

 

RunnerPage object represents the current page object and is called pageObj. It is available in the JavaScript OnLoad event of the appropriate page.

Methods

Method

Description

getSearchController()

Gets the object of the search panel (SearchController object).

hideField()

Hides the field and its label.

showField()

Shows the previously hidden field and its label.

getTabs()

Returns the RunnerTabs object, which represents a single tab group.

toggleItem()

Shows or hides a page element in JavaScript events.

getAllRecords()

Returns an array of GridRow objects for all the records in the data grid on the List page.

getSelectedRecords()

Returns an array of GridRow objects for all selected records in the data grid on the List page.

getSelectedRecordKeys()

Returns an array of key field values for all the selected records.

getDetailsPage( name, recordId )

Returns the RunnerPage object of the details preview displayed on the page.

getDetailsPages(recordId)

Returns the RunnerPage objects for all the details previews on the current page.

getItemButton( itemId, recordId )

Returns the jQuery object that represents the button object.

findItem(itemId, recordId)

Returns the jQuery object representing the page element. Use this function when you need to apply code to one of the page elements.

toggleItems()

Shows or hides a set of page elements in JavaScript events.

setPageModified()

Skips the built-in 'Warn about leaving the page' popup message.

 

See also:

Tri-part events

AJAX helper object

Field events

Click actions

Global events

Table events

JavaScript API