Gets an index of the currently selected tab.
Syntax
activeIdx()
Arguments
No arguments.
Return value
A zero-based index of the active tab.
Example
Get an index of the currently selected tab.
var tabs = pageObj.getTabs();
var idx = tabs.activeIdx();
See also:
•Grid Row JavaScript API: row.getKeys()
•Grid Row JavaScript API: row.recordId()