easyexcel icon indicating copy to clipboard operation
easyexcel copied to clipboard

如何设置导出文件表头为红色,取消默认设置的灰色

Open moshengkang opened this issue 3 years ago • 1 comments

moshengkang avatar Aug 05 '22 10:08 moshengkang

导出bean上添加注解

@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 10)

参考文档:https://easyexcel.opensource.alibaba.com/docs/current/quickstart/write#%E6%B3%A8%E8%A7%A3%E5%BD%A2%E5%BC%8F%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A0%B7%E5%BC%8F

juzi214032 avatar Aug 06 '22 10:08 juzi214032