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". |
Related articles
Feedback
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.
Submit and view feedback for