getRowsAsync(): Promise<Object []>
[starting from version: 2.9]
Returns a Promise object that resolves to an array of fields selected for rows in the slice. See the array’s structure in getRows.
flexmonster.getRowsAsync().then(rows => { rows.forEach( item => console.log(item); ); }); /* getRowsAsync method returns array of objects [ {caption: "Country", uniqueName: "Country", sort: "asc", type: "string"}, {caption: "Color", uniqueName: "Color", sort: "asc", type: "string"} ] */
See an example on JSFiddle.
getRows
getColumnsAsync
getReportFiltersAsync
getMeasuresAsync
getAllMeasuresAsync
getAllHierarchiesAsync