title: AngularJS ui-grid Get All grid data for Export
body: <p>I need to have all data from <code>ui-grid</code> for exporting it to excel.</p>
  
  <p>I know it has already export function with all options like pdf, excel etc.</p>
  
  <p>I have a requirement to export it from our side. for that I need to have all data visible right now on grid.</p>
  
  <p>I am not able to find out how to take data from ui-grid. I have multiple grids that's why I am not able to get <code>$scope.gridapi</code> </p>
  
  <p>suggest something on this</p>