Menu
Download Free Trial
Table of contents

getRows

getRows():Array

[starting from version: 1.4]

Returns a list of hierarchies selected in the report slice for rows.

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.getRows();

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

Check out on JSFiddle.

See also

getAllHierarchies
getColumns
getReportFilters
getAllMeasures
getMeasures