Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

getReportFilters

getReportFilters():Array

[starting from version: 2.4]

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

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

/* 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