tab.setDisplayState (Client API reference)
Important
The setDisplayState method will be deprecated with the 2021 release wave 1 (April 2021). Use the setFocus method in Unified Interface to ensure the correct tab is opened on a form.
Sets display state of the tab.
Syntax
tabObj.setDisplayState(state);
Parameter
Name | Type | Required | Description |
---|---|---|---|
state |
String | Yes | Specify "expanded" or "collapsed". |