Skip to content

Commit 965f553

Browse files
MKirovaMKirova
authored andcommitted
fix(igxGrid): Allow to select/deselect ghost row with space.
1 parent 1357bcb commit 965f553

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class IgxGridNavigationService {
115115
case 'spacebar':
116116
case 'space':
117117
const rowObj = this.grid.getRowByIndex(this.activeNode.row);
118-
if (this.grid.isRowSelectable && this.isDataRow(rowIndex) && !rowObj.disabled) {
118+
if (this.grid.isRowSelectable && this.isDataRow(rowIndex)) {
119119
rowObj && rowObj.selected ? this.grid.selectionService.deselectRow(rowObj.rowID, event) :
120120
this.grid.selectionService.selectRowById(rowObj.rowID, false, event);
121121
}

0 commit comments

Comments
 (0)