WbkPropertyBarView.showOnlyGroup

Syntax

showOnlyGroup(groups: PP.TS.Ui.PropertyGroups);

Parameters

groups. Properties panel group identifier.

Description

The showOnlyGroup method shows the properties panel group by identifier and hides all the other groups.

Comments

Identifiers of all properties panel groups are contained in the PP.TS.Ui.PropertyGroups enumeration.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and all the workbook views must be displayed. Hide all groups of properties except the main one:

// Get workbook properties panel
propertyBarView = workbookBox.getPropertyBarView();
// Keep the main group and hide all the others
propertyBarView.showOnlyGroup(PP.TS.Ui.PropertyGroups.Main);

After executing the example the properties panel displays only the main group of properties.

See also:

WbkPropertyBarView