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
BaseEntity类定义了A,B,C三个属性,ExporterHeader的ColumnIndex分别为1,2,3 D,E,F三个属性设置ExporterHeader的ColumnIndex分别为30,31,31
然后创建EntityA继承BaseEntity,有X,Y,Z三个属性设置ExporterHeader的ColumnIndex分别为11,12,13
这时候调用ExcelExporter的ExportAsByteArray方法导出xlsx文件 头的顺序为A,B,C,X,Y,Z,D,E,F这个是没问题的 但是数据顺序却是X,Y,Z,A,B,C,D,E,F这个是有问题的
The text was updated successfully, but these errors were encountered:
ExportXls.zip 示例代码已上传
Sorry, something went wrong.
刚又发现了,不仅仅类继承导出有问题 单独的类导出列头索引也会有问题 例如,上面定义的类属性设置列头索引高于下面的类属性列头索引,就会出问题
@263613093 用下最新版本试试
hueifeng
Successfully merging a pull request may close this issue.
BaseEntity类定义了A,B,C三个属性,ExporterHeader的ColumnIndex分别为1,2,3
D,E,F三个属性设置ExporterHeader的ColumnIndex分别为30,31,31
然后创建EntityA继承BaseEntity,有X,Y,Z三个属性设置ExporterHeader的ColumnIndex分别为11,12,13
这时候调用ExcelExporter的ExportAsByteArray方法导出xlsx文件
头的顺序为A,B,C,X,Y,Z,D,E,F这个是没问题的
但是数据顺序却是X,Y,Z,A,B,C,D,E,F这个是有问题的
The text was updated successfully, but these errors were encountered: