Please enable JavaScript to view this site.

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

JavaScript API: RunnerPage object > getTabs()

Scroll Prev Next More

 

Returns the RunnerTabs object, which represents a single tab group. Applies to tab sections on Add, Edit and View pages.

Syntax

getTabs(N);

Arguments

N

a zero-based index of a tab group. If no argument specified, returns first tab group of the page.

Return value

Returns the RunnerTabs object.

 

If N is more than the number of tab groups, the method returns null.

Example

Activate the third tab in the first tab group.

 

var tabs = pageObj.getTabs(0);
tabs.activate(2);

See also:

Tabs API: activate

Sections API: getSection

Grid Row JavaScript API: row.getKeys()

RunnerPage object

Tabs/Sections API

JavaScript API: RunnerPage object

JavaScript API