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

ShiftRows methods cause data lost in merged regions #680

Closed
az6161311 opened this issue Oct 22, 2021 · 5 comments
Closed

ShiftRows methods cause data lost in merged regions #680

az6161311 opened this issue Oct 22, 2021 · 5 comments

Comments

@az6161311
Copy link

使用ShiftRows方法插入行后,插入位置后面的行会丢失合并单元格。
模板:
image
导出:
image
代码片段:
sheet.ShiftRows(headerStartRows[0], sheet.LastRowNum, tables[0].Count - 1, true, false);

@tonyqus
Copy link
Member

tonyqus commented Oct 23, 2021

duplicate with #601

@tonyqus tonyqus closed this as completed Oct 23, 2021
@tonyqus tonyqus changed the title 使用ShiftRows方法,MergedRegions的数据丢失 ShiftRows methods cause data lost in merged regions Nov 30, 2021
@tonyqus
Copy link
Member

tonyqus commented Jul 13, 2022

能否上传这个Excel文件?我正在修复这个问题

@az6161311
Copy link
Author

能否上传这个Excel文件?我正在修复这个问题

以前的已经丢失了,我弄了个类似的。
模板.xlsx

@tonyqus
Copy link
Member

tonyqus commented Aug 3, 2022

已经修复了,等下个release

@az6161311
Copy link
Author

好的。谢谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants