Skip to content

Commit 41f40e4

Browse files
authored
fix(igxGrid): Add check in case active target is a non-merged record. (#16537)
1 parent 661153b commit 41f40e4

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
@@ -103,7 +103,7 @@ export class IgxGridUnmergeActivePipe implements PipeTransform {
103103
const rootsToUpdate = [];
104104
activeRowIndexes.forEach(index => {
105105
const target = collection[index];
106-
if (target) {
106+
if (target && target.cellMergeMeta) {
107107
colsToMerge.forEach(col => {
108108
const colMeta = target.cellMergeMeta.get(col.field);
109109
const root = colMeta.root || (colMeta.rowSpan > 1 ? target : null);

0 commit comments

Comments
 (0)