Skip to content

Commit a970b68

Browse files
authored
fix(igxGrid): Add check in case active target is a non-merged record. (#16538)
1 parent b1afeac commit a970b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class IgxGridUnmergeActivePipe implements PipeTransform {
114114
const rootsToUpdate = [];
115115
activeRowIndexes.forEach(index => {
116116
const target = collection[index];
117-
if (target) {
117+
if (target && target.cellMergeMeta) {
118118
colsToMerge.forEach(col => {
119119
const colMeta = target.cellMergeMeta.get(col.field);
120120
const root = colMeta.root || (colMeta.rowSpan > 1 ? target : null);

0 commit comments

Comments
 (0)