donnytian / Npoi.Mapper

Use this tool to import or export data with Excel file. The tool is a convention based mapper between strong typed object and Excel data via NPOI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Npoi.Mapper 能设置xlsx 单元格的宽度吗?

henry-ll opened this issue · comments

commented

Npoi.Mapper 默认导出的execl内容 单元格都是默认宽度,导致时间显示是##### ,长内容 单元格 内容超出单元格,Npoi.Mapper 能设置xlsx 单元格的宽度吗?

没有直结支持, 可以在Put之后用npoi的api操作mapper.Workbook