nissl-lab / npoi

a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

insert new row very slowly in middle sheet

Xy9310 opened this issue · comments

commented

NPOI Version

2.6.2

File Type

  • XLSX
  • XLS
  • DOCX
  • XLSM
  • OTHER

Upload the Excel File

Please attach your original Excel File to help us reproduce the issue

Reproduce Steps

Issue Description

we need to insert some new row data in middle sheet, but not provide similar "Sheet.InsertRow" interface;
"Sheet.CreateRow" could delete prev position row data, this did not meet my expectations;
I can only shift row data and then create new row data, but this action very slow when insert a lot of row data;

Hi, how much rows in the file?

commented

Hi, how much rows in the file?
20k+ rows

Did you try to move rows to another sheet and then insert them, starting from new position?

No reply. Close the issue