EaxDataView.refresh

Syntax

refresh(objectType: PP.Exp.Ui.EaxObjectType|PP.Mb.Ui.PropertyChangedEventArgs);

Parameters

objectType. Type of object to be refreshed. Parameter value is set using the PP.Exp.Ui.EaxObjectType and PP.Mb.Ui.PropertyChangedEventArgs enumerations.

Description

The refresh method refreshes specified items in working area of the express report.

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 express report title:

// Get view of container for express report working area
var dataView = expressBox.getDataView();
// Get viewof express report title
var titleView = dataView.getTitleView();
// Set handler for the Refreshed event
dataView.Refreshed.add(function(){
    alert("Refreshed")
});
// Refresh express report title
dataView.refresh(titleView);

After executing the example the express report title is refreshed and a message box with the text "Refreshed" appears on the screen.

See also:

EaxDataView