Skip to content

Commit bbd5b49

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Add check for merging only in row headers.
1 parent 8e91aa5 commit bbd5b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/services/excel/excel-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ export class WorksheetFile implements IExcelFile {
671671
: this.sheetData += str
672672
}
673673
}
674-
if (currentCol.columnSpan && currentCol.columnSpan > 1 ) {
674+
if (currentCol.headerType === ExportHeaderType.RowHeader && currentCol.columnSpan && currentCol.columnSpan > 1 ) {
675675
columnCoordinate = ExcelStrings.getExcelColumn(column + currentCol.columnSpan - 1) + (rowCoordinate + spanLength - 1);
676676
}
677677

0 commit comments

Comments
 (0)