title: How can I get all the rows of ag-grid?
body: <p>ag-grid provides a way to get selected rows using <code>api.getSelectedRows()</code> function. And provides a way to set all rows using <code>api.setRowData([])</code> function.
  I'm looking for something <code>getAllRows()</code> to return all the rows in the grid. I know there is a way to loop through all the rows using <code>api.forEachNode()</code> etc.
  Is there any way I can get the entire array of rows?</p>