getRows(): Array
[starting from version: 1.4]
Returns a list of fields selected in the report slice for rows. Note that getRows
has an async equivalent - getRowsAsync.
Array of ResultHierarchyObjects that describe the selected fields.
If data load is in progress an empty array will be returned.
pivot.getRows();
/* method returns an array of ResultHierarchyObjects
[
{
"caption": "Category",
"dimensionCaption": "Category",
"dimensionUniqueName": "Category",
"folder": "",
"label": "Category",
"sort": "asc",
"uniqueName": "Category",
"type": "string"
},
// Other fields
]
*/
Check out on JSFiddle.
getRowsAsync
getAllHierarchies
getColumns
getReportFilters
getAllMeasures
getMeasures