How can we get the data of all rows in a grouped column in Angular UI Grid?
For example, in the official Grouping Tutorial, how to get all the company names in the 'Company' column.
I was able to get the aggregated value of grouped row by using the following code:
for (var i = 0, l = $scope.gridRows.length; i<l; i += 1){
console.log($scope.gridRows[i].treeNode.aggregations[COLUMN_INDEX].value);
}
But doesn't work for the 'Company' column, since their is no aggregate value for that column, and what I want is all the company's names.
Thank you in advance for your time.