Menu
Download Free Trial
Table of contents

getPages

getPages():Array

[starting from version: 1.4]

Returns a list of hierarchies selected in the report slice for pages (“Report Filter”).

Returns

Array of objects. Each object in array contains the following parameters: captionuniqueName, and sort.

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

Example

flexmonster.getPages();

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

Open the example on JSFiddle.

See also

getAllHierarchies
getColumns
getRows
getAllMeasures
getMeasures