Skip to content

Commit f451072

Browse files
authored
Merge pull request #7213 from IgniteUI/mkirova/fix-ghost-selection
fix(igxGrid): Allow to select/deselect ghost row with space.
2 parents dbef411 + c3c481c commit f451072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-navigation.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export class IgxGridNavigationService {
113113
case 'spacebar':
114114
case 'space':
115115
const rowObj = this.grid.getRowByIndex(this.activeNode.row);
116-
if (this.grid.isRowSelectable && this.isDataRow(rowIndex) && !rowObj.disabled) {
116+
if (this.grid.isRowSelectable && this.isDataRow(rowIndex)) {
117117
rowObj && rowObj.selected ? this.grid.selectionService.deselectRow(rowObj.rowID, event) :
118118
this.grid.selectionService.selectRowById(rowObj.rowID, false, event);
119119
}

0 commit comments

Comments
 (0)