Skip to content

Commit a361804

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Add null checks.
1 parent 30a7ecc commit a361804

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8245,7 +8245,7 @@ export abstract class IgxGridBaseDirective implements GridType,
82458245
const rec = this.verticalScrollContainer.igxForOf[startIndex];
82468246
if (rec && rec.cellMergeMeta) {
82478247
this.columnsToMerge.forEach((col) => {
8248-
const root = rec.cellMergeMeta.get(col.field).root;
8248+
const root = rec.cellMergeMeta?.get(col.field)?.root;
82498249
if (root) {
82508250
data.push({ record: root, index: root.index, dataIndex: root.index });
82518251
}

0 commit comments

Comments
 (0)