Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • API Reference for older versions
  • getRows

    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.

    Returns

    Array of ResultHierarchyObjects that describe the selected fields.

    If data load is in progress an empty array will be returned.

    Example

    flexmonster.getRows();
    
    /* method returns an array of ResultHierarchyObjects
    [ 
      {caption: "Business Type", uniqueName: "Business Type", sort: "desc", type: "string"}, 
      {caption: "Category", uniqueName: "Category", sort: "asc", type: "string"} 
    ] 
    */ 

    Check out on JSFiddle.

    See also

    getRowsAsync
    getAllHierarchies
    getColumns
    getReportFilters
    getAllMeasures
    getMeasures