setVisiblePropBar(value);
value. Value that controls the state of the Side Panel button.
The setVisiblePropBar method controls state of the Sidebar button on the View tab of the tool ribbon: presses and unpresses this button.
If the value parameter is set to True the Sidebar button is pressed, otherwise it is released.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). In the example given below the Sidebar button is pressed programmatically:
// Get view of the View tab var category = expressBox.getRibbonView().getViewRibbonCategory(); // Open access to the Conditional Formatting button category.setVisiblePropBar(True);
Before executing the example the Sidebar button is not pressed:
Executing the example presses the Sidebar button on the Home tab of the tool ribbon:
See also: