Skip to content

Commit 37375e5

Browse files
MKirovaMKirova
authored andcommitted
fix(igxGrid): Add check in case active target is a non-merged record.
1 parent 3f8d1c8 commit 37375e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/grids/grid/src/grid.pipes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class IgxGridUnmergeActivePipe implements PipeTransform {
104104
const rootsToUpdate = [];
105105
activeRowIndexes.forEach(index => {
106106
const target = collection[index];
107-
if (target) {
107+
if (target && target.cellMergeMeta) {
108108
colsToMerge.forEach(col => {
109109
const colMeta = target.cellMergeMeta.get(col.field);
110110
const root = colMeta.root || (colMeta.rowSpan > 1 ? target : null);

0 commit comments

Comments
 (0)