Menu
Download Free Trial
Table of contents

getAllHierarchies

getAllHierarchies():Array

[starting from version: 1.4]

Returns a list of all available hierarchies.

Returns

Array of objects. Each object in array contains two parameters: caption and uniqueName.

If data load is in progress an empty array will be returned.

Example

flexmonster.getAllHierarchies();

/* method returns array of objects
[
{caption: "Business Type", uniqueName: "Business Type"},
{caption: "Category", uniqueName: "Category"},
{caption: "Country", uniqueName: "Country"}
]
*/

Check out on JSFiddle.

See also

getAllMeasures
getColumns
getRows
getReportFilters
getMeasures