getAllHierarchies(): Array
[starting from version: 1.4]
Returns a list of all available fields. Note that getAllHierarchies has an async equivalent - getAllHierarchiesAsync.
getAllHierarchies
Array of FieldObjectReturned objects that describe available fields.
If data load is in progress an empty array will be returned.
pivot.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"}]*/
Check out on JSFiddle.
getAllHierarchiesAsync getAllMeasuresgetColumnsgetRowsgetReportFiltersgetMeasures
In this guide