This object is returned by the filteropen event and the getAllHierarchies(), getColumns(), getReportFilters(), getRows() methods. It can describe:
{ uniqueName: string, caption: string, dimensionUniqueName: string dimensionCaption: string folder: string, levels: ResultHierarchyObject[] sort: string, type: string }
Property/Type | Description |
---|---|
uniqueName String | The field's unique name. |
String | The field's caption. |
dimensionUniqueName String | The dimension name. |
String | The dimension caption. |
folder String | The field’s folder. Folders are used to group several fields in the Field List. folder supports nesting via / (e.g., "Folder/Subfolder/" ).Only for "json" , "csv" , and "api" data source types. |
levels ResultHierarchyObject[] | If the field is a multilevel hierarchy, this property lists the field members that compose the hierarchy. Each member is a ResultHierarchyObject with only the uniqueName and caption properties. |
sort String | The sorting type for members: "asc" , "desc" or "unsorted" . |
type String | The field's data type. Only for "json" , "csv" , "api" , and "elasticsearch" data sources:
|
The example below shows an array of ResultHierarchyObjects returned by the getAllHierarchies() method:
flexmonster.getAllHierarchies(); /* method returns an array of ResultHierarchyObjects [ {caption: "Business Type", uniqueName: "Business Type", type: "string"}, {caption: "Category", uniqueName: "Category", type: "string"}, {caption: "Country", uniqueName: "Country", type: "string"} ] */
getAllHierarchies()
getColumns()
getReportFilters()
getRows()
filteropen