MainCatView.refresh

Syntax

refresh(propName: PP.Exp.Ui.ControlType);

Parameters

propName. Name of the control to be refreshed; this parameter is defined using the PP.Exp.Ui.ControlType enumeration.

Description

The refresh method refreshes the specified element on the Home tab of express report tool ribbon.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then refresh the Title menu item on the Home tab:

// Get view of the Home tab
var mainCategory = expressBox.getRibbonView().getMainCategory();
mainCategory.refresh(PP.Exp.Ui.ControlType.Title);

Executing the example refreshes the Title menu item on the Home tab of the express report tool ribbon.

See also:

MainCatView