EaxMdService.setSelectPart

Syntax

setSelectPart(report: PP.Exp.EaxDocument, part: Object, callback: PP.Delegate);

Parameters

report. Express report document.

part. Selected area metadata.

callback. Callback function.

Description

The setSelectPart method determines selected area of express report table.

Comments

All available table areas can be obtained by means of the EaxAnalyzer.getTableParts method.

Area names are given in the PP.Exp.Ui.EaxTablePart enumeration.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component).

// Get express report document
var eaxAnalyzer = expressBox.getSource();
// Determine metadata
metadata = {
part : "TopHeader"
}
// Set selected table area
eaxMdService.setSelectPart(eaxAnalyzer, metadata);
// Refresh express report
expressBox.refreshAll();

After executing the example the table heading is set as a selected area.

See also:

EaxMdService