-
-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
怎么自定义单元格样式 #325
Comments
暂时建议在导出完成后,使用EPPLUS的API进行处理 |
有没有示例参考一下,比如用Magicodes.IE.Excel生成了一个多sheet的文件字节数组,接下来该怎么用EPPLUS的API操作? |
@xiangxiren 可以参考如下代码片段
|
谢谢 |
设置边框的颜色报错 Can't set bordercolor when style is not set。代码如下:
另外获取表头的单元格还有没有更好的方法? |
我们需要先指定BorderStyle,否则在EPPlus中不允许对Border的操作,可以通过如下方式设置。
获取表头是否可以通过如下语句获取第一行表头?
|
报错啦。Sequence contains no elements |
看起来常用的还是使用原方式
或者
|
我尝试在ExporterHeaderAttribute添加设置字体颜色的属性。如果我提交PR,你们会合并吗? |
会的,欢迎提交PR。国庆期间初步做了一次重构。 |
我这有个需求,部分单元格边框要设置颜色。能实现么?
The text was updated successfully, but these errors were encountered: