showOnlyGroup(groups: PP.TS.Ui.PropertyGroups);
groups. Properties panel group identifier.
The showOnlyGroup method shows the properties panel group by identifier and hides all the other groups.
Identifiers of all properties panel groups are contained in the PP.TS.Ui.PropertyGroups enumeration.
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: