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: FieldObjectReturned[],
sort: string,
type: string
}| Property/Type | Description |
|---|---|
| uniqueName String | The field's unique name. |
| caption String | The field's caption. |
| dimensionUniqueName String | The dimension name. |
| dimensionCaption String | The dimension caption. |
| folder String | The field’s folder, if defined. Only for "json", "csv", and "api" data source types. |
| levels FieldObjectReturned[] | If the field is a multilevel hierarchy, this property lists the field members that compose the hierarchy. Each member is a FieldObjectReturned 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 FieldObjectReturned objects returned by the getAllHierarchies() method:
flexmonster.getAllHierarchies();
/* method returns an array of FieldObjectReturned objects
[
{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