firegloves / MemPOI

A library to simplify export from database to Excel files using Apache POI :japanese_goblin:
MIT License
57 stars 7 forks source link

`.withCellStyle()` not working with `XSSFWorkbook` #65

Closed apoorva-sriv closed 1 year ago

apoorva-sriv commented 1 year ago

I created a cell style for right aligning some columns; however, Excel doesn't seem to consider it when I use XSSFWorkbook. It works when I use SXSSFWorkbook though.

firegloves commented 1 year ago

Hi @apoorva-sriv, this is an old bug I had forgotten to fix. I've just published v1.9.1 which should fix the issue.

apoorva-sriv commented 1 year ago

Thank you for the quick fix! It's working now.