Skip to content

Commit 0e83225

Browse files
Yonatanmportuga
Yonatan
authored andcommitted
Ensure that getting selected rows returns row entities, excluding the grouping entities
1 parent bf0267c commit 0e83225

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/features/selection/js/selection.js

+2
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@
301301
getSelectedRows: function () {
302302
return service.getSelectedRows(grid).map(function (gridRow) {
303303
return gridRow.entity;
304+
}).filter(function (entity) {
305+
return entity.hasOwnProperty('$$hashKey');
304306
});
305307
},
306308
/**

0 commit comments

Comments
 (0)