getTableParts() : Array of Objects;
The getTableParts method returns an array of all table areas.
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.
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 all table areas parts = eaxAnalyzer.getTableParts(); // Display area names to the console for (var i = 0; i < parts.length; i++) { console.log(parts[i].part + " " + (parts[i].dimKey ? parts[i].dimKey : "")); };
After executing the example the console displays names of all table areas.
See also: