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