Excel Cell Format in JasperReport Report

后端 未结 4 1879
一向
一向 2021-01-05 11:01

I\'m working on JasperReport Report that generates Excel file. For some reason my cell formats/types are not how they should be. For example I have Date object in my cell bu

4条回答
  •  孤独总比滥情好
    2021-01-05 11:21

    Just FYI

    setParameter(JRXlsExporterParameter.IS_AUTO_DETECT_CELL_TYPE, Boolean.TRUE); 
    

    or IS_DETECT_CELL_TYPE, Boolean.TRUE is the one which makes the Date to change to number .

提交回复
热议问题