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

复杂表头未按预期跨行显示 #1322

Closed
sweeter-box opened this issue May 18, 2020 · 2 comments
Closed

复杂表头未按预期跨行显示 #1322

sweeter-box opened this issue May 18, 2020 · 2 comments
Assignees
Labels
bug Something isn't working pending verification This problem needs to be confirmed

Comments

@sweeter-box
Copy link

触发场景描述

  • 复杂表头导出,我无意的设置了ExcelProperty的index从1开始
    例如:
    @ColumnWidth(25)
    @ExcelProperty(value = {"订单统计", "年月"}, index = 1)
    private String yearMonth;

    @ColumnWidth(25)
    @ExcelProperty(value = {"订单统计", "订单数量"}, index = 2)
    private Integer orderNum;
    错误格式
    正确格式

导致复杂表头没有跨列显示,只显示在最后一列,将index改为0开始后恢复正常

提示的异常或者没有达到的效果

  • 即便不从excel的第一列开始填充数据也应该保持复杂表头跨行显示
@sweeter-box sweeter-box added the bug Something isn't working label May 18, 2020
@sweeter-box
Copy link
Author

版本使用的最新版2.2.3

@zhuangjiaju
Copy link
Collaborator

非常感谢您的意见,已经在最新版修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending verification This problem needs to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants