Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何在用Npoi.Mapper导出数据的时候,设置表格自定义样式呢? #121

Closed
nextuntil opened this issue Jun 20, 2023 · 2 comments

Comments

@nextuntil
Copy link

RT。
比如现在希望在导出的时候实现以下样式控制:
1、表头加背景色,列名居中,字体加粗;
2、数据行斑马纹背景色处理;
3、数据列的宽度自动计算自适应;

@donnytian
Copy link
Owner

请操作mapper.Workbook 属性来设置样式, 具体的操作属于npoi的范畴, mapper主要聚焦在数据操作上.

@nextuntil
Copy link
Author

3Q,已按回复方式处理完成。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants