ExpressView.refresh

Syntax

refresh(args: PP.Mb.Ui.PropertyChangedEventArgs);

Parameters

args. Parameters of the PropertyChanged event that occurs on changing values of specified properties.

Description

The refresh method refreshes selected express report elements.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Refresh toolbar, properties panel and title of the express report:

// Refresh toolbar, properties panel and title
expressBox.refresh(new PP.Mb.Ui.PropertyChangedEventArgs({
    PropertyName: PP.Exp.Ui.ControlType.DataView,
    TypeUpdateData: [PP.Exp.Ui.ViewTypeUpdate.Ribbon, 
        PP.Exp.Ui.ViewTypeUpdate.PropertyBar,
        PP.Exp.Ui.ViewTypeUpdate.Title]
}));

Executing the example refreshes toolbar, properties panel and title of the express report.

See also:

ExpressView