WbkCategoryView.setPropertyValue

Syntax

setPropertyValue(propertyName: PP.TS.Ui.WbkPropertyViews, value);

Parameters

propertyName. Setting name.

value. Value to be set.

Description

The setPropertyValue method defines settings of workbook ribbon.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Show the Title button in the ribbon as pressed:

// Get tool ribbon
var ribbon = workbookBox.getRibbonView();
// Get the Home tool ribbon category
var mainCategory = ribbon.getMainCategory();
// Display the Title button as pressed
mainCategory.setPropertyValue(PP.TS.Ui.WbkPropertyViews.VisibleTitle, True);

After executing the example the Title button in the workbook ribbon is shown as pressed:

See also:

WbkCategoryView