ViewCatView.setVisiblePropBar

Syntax

setVisiblePropBar(value);

Parameters

value. Value that controls the state of the Side Panel button.

Description

The setVisiblePropBar method controls state of the Sidebar button on the View tab of the tool ribbon: presses and unpresses this button.

Comments

If the value parameter is set to True the Sidebar button is pressed, otherwise it is released.

Example

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:

ViewCatView