Is there a way to loop through the filtered rows in an uigrid? I am aware that we can get the filtered rows using the following code:
var filteredData = $scope.gridApi.core.getVisibleRows($scope.gridApi.grid);
However, I need to iterate through it and create an array similar to what we get when using $scope.gridoptions.data. Any suggestions on how to achieve this?
Looking forward to your ideas!