Skip to content

Commit

Permalink
fix: clear column cellstyle info before starting the export
Browse files Browse the repository at this point in the history
Fixes #100
  • Loading branch information
mlopezFC authored and paodb committed Feb 28, 2024
1 parent d501e44 commit e8c78e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public InputStream createInputStream() {
exporter.setColumns(
exporter.grid.getColumns().stream()
.filter(this::isExportable)
.peek(col->ComponentUtil.setData(col, COLUMN_CELLSTYLE_MAP, null))
.collect(Collectors.toList()));
Workbook wb = getBaseTemplateWorkbook();
Sheet sheet = wb.getSheetAt(exporter.sheetNumber);
Expand Down

0 comments on commit e8c78e1

Please sign in to comment.