formContext.ui.tabs section (Client API reference)
A section contains methods to manage how it appears as well as accessing the tab that contains the section.
You can retrieve a section object (say sectionObj) by using the following example code:
var tabObj = formContext.ui.tabs.get(arg);
var sectionObj = tabObj.sections.get(arg);
Properties
- controls: The section controls collection provides access to the controls within a section. See Collections (Client API reference) for information about the methods exposed by collections. See Controls (Client API reference) for information about the properties and methods exposed by the objects in this collection.
Methods
Name | Description |
---|---|
getLabel | Returns the label for the section. |
getName | Returns the name of the section. |
getParent | Returns the tab containing the section. |
getVisible | Returns a value that indicates whether the section is currently visible. |
setLabel | Sets the label of the section. |
setVisible | Sets a value that indicates whether the section is visible. |