Skip to content

Commit 368bff3

Browse files
committed
fix(igxCell): Fix cell entering edit mode when disabled with enter/f2.
1 parent 6cc72fb commit 368bff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/cell.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
382382
*/
383383
@HostBinding('attr.aria-readonly')
384384
get readonly(): boolean {
385-
return !this.column.editable;
385+
return !this.editable;
386386
}
387387

388388
get gridRowSpan(): number {
@@ -1051,7 +1051,7 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
10511051
if (this.isInCompositionMode) {
10521052
return;
10531053
}
1054-
if (this.column.editable && !this.row.deleted) {
1054+
if (this.editable && !this.row.deleted) {
10551055
if (this.editMode) {
10561056
this.grid.endEdit(true);
10571057
this.nativeElement.focus();

0 commit comments

Comments
 (0)