formContext.ui.tabs (Client API reference)
A tab is a group of sections on a page. It contains properties and methods to manipulate tabs as well as access to sections within the tab through the sections collection.
You can retrieve a tab object (say tabObj) by using the following example code:
var tabObj = formContext.ui.tabs.get(arg);
Properties
sections
: The sections collection provides access to sections within the tab. See Collections (Client API reference) for information about methods to access the sections in the collection. See formContext.ui.tabs section for information about the properties and methods of the section objects in the collection.
Methods
Name | Description |
---|---|
addTabStateChange | Adds a function to be called when the TabStateChange event occurs. |
getContentType | Returns the content type. |
getDisplayState | Gets display state of the tab. |
getLabel | Returns the label for the tab. |
getName | Returns the name of the tab. |
getParent | Returns the formContext.ui object containing the tab. |
getVisible | Returns a value that indicates whether the tab is currently visible. |
removeTabStateChange | Removes a function to be called when the TabStateChange event occurs. |
setContentType | Sets the content type. |
setDisplayState | Sets display state of the tab. |
setFocus | Sets the focus on the tab. |
setLabel | Sets the label of the tab. |
setVisible | Sets a value that indicates whether the tab is visible. |