easyexcel icon indicating copy to clipboard operation
easyexcel copied to clipboard

支持树形结构的导出

Open lalala8462 opened this issue 3 years ago • 2 comments

目前业务系统中需要导出树形结构的数据,目前看esayexcel中不支持设置 groupRow 所以新增了一个 WriteTreeData 类 支持定义父子级关系数据 在 com.alibaba.excel.write.executor.ExcelWriteAddExecutor#add 中判断数据类型 当为 WriteTreeData 时递归遍历子数据集 然后 sheet.groupRow

lalala8462 avatar May 16 '22 01:05 lalala8462

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Wish seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar May 16 '22 01:05 CLAassistant