EaxAnalyzer.getSelectedParts

Syntax

getSelectedParts() : Array of Objects;

Description

The getSelectedParts method returns an array of table areas included into the current selection.

Comments

The method returns an array of objects containing information about selected area. Dimension key is included into information for dimensions.

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).

var eaxAnalyzer = expressBox.getSource();
// Get selected table areas
parts = eaxAnalyzer.getSelectedParts();
// Output area names to the console
for (var i = 0; i < parts.length; i++) {
    console.log(parts[i].part);
};

After executing the example the console displays names of selected areas.

See also:

EaxAnalyzer