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".

getDisplayState

Note

Can you tell us about your documentation language preferences? Take a short survey.

The survey will take about seven minutes. No personal data is collected (privacy statement).