We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
建议先去看文档 快速开始 、常见问题 触发场景描述 head是List时,内容单元格的样式不生效 触发Bug的代码 com.alibaba.excel.write.style.AbstractCellStyleStrategy#afterCellDispose
@Override public void afterCellDispose(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, List<CellData> cellDataList, Cell cell, Head head, Integer relativeRowIndex, Boolean isHead) { if (isHead == null || head == null) { // isHead为false,head == null为true时直接返回了。不能执行setContentCellStyle(cell, head, relativeRowIndex) return; } if (isHead) { setHeadCellStyle(cell, head, relativeRowIndex); } else { setContentCellStyle(cell, head, relativeRowIndex); } }
提示的异常或者没有达到的效果 head是List时,内容单元格的样式不生效
The text was updated successfully, but these errors were encountered:
修复动态表头时,内容单元格的样式不生效的bug alibaba#1339
eae7703
修改head是List时,内容单元格的样式不生效 #1339
e9b9048
非常感谢您的意见,已经在最新版修复。
Sorry, something went wrong.
zhuangjiaju
No branches or pull requests
建议先去看文档
快速开始 、常见问题
触发场景描述
head是List时,内容单元格的样式不生效
触发Bug的代码
com.alibaba.excel.write.style.AbstractCellStyleStrategy#afterCellDispose
提示的异常或者没有达到的效果
head是List时,内容单元格的样式不生效
The text was updated successfully, but these errors were encountered: