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.
getRows
Array of FieldObjectReturned objects that describe the selected fields.
If data load is in progress an empty array will be returned.
pivot.getRows();/* method returns an array of FieldObjectReturned objects[ { "caption": "Category", "dimensionCaption": "Category", "dimensionUniqueName": "Category", "folder": "", "label": "Category", "sort": "asc", "uniqueName": "Category", "type": "string" }, // Other fields]*/
Check out on JSFiddle.
getRowsAsync getAllHierarchiesgetColumnsgetReportFiltersgetAllMeasuresgetMeasures
In this guide