Skip to content

Commit

Permalink
fix(igx-grid): Check for row editing state
Browse files Browse the repository at this point in the history
Closes #4878
  • Loading branch information
rkaraivanov committed Jun 17, 2019
1 parent cc97ee9 commit 3462a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/igniteui-angular/src/lib/core/grid-selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class IgxGridCRUDService {
}

sameRow(rowID): boolean {
return this.row.id === rowID;
return this.row && this.row.id === rowID;
}

sameCell(cell: IgxCell): boolean {
Expand Down

0 comments on commit 3462a71

Please sign in to comment.