Skip to content

Commit

Permalink
Ensure that getting selected rows returns row entities, excluding the…
Browse files Browse the repository at this point in the history
… grouping entities
  • Loading branch information
Yonatan authored and mportuga committed Mar 5, 2018
1 parent bf0267c commit 0e83225
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/features/selection/js/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@
getSelectedRows: function () {
return service.getSelectedRows(grid).map(function (gridRow) {
return gridRow.entity;
}).filter(function (entity) {
return entity.hasOwnProperty('$$hashKey');
});
},
/**
Expand Down

0 comments on commit 0e83225

Please sign in to comment.