Quantcast
Channel: npoi Discussions Rss Feed
Viewing all articles
Browse latest Browse all 637

New Post: XSLX Sheet ShiftRows, RemoveRow doesn't update LastRowNum

$
0
0
Hi All!

ISheet has ShiftRow, RemoveRow method.
HSSFSheet after each row operation recalc LastRowNum value.
XSSFSHeet recalc LastRowNum only after CreateRow operation triggers.

How manualy recalc LastRowNum in XSSFSheet?

That's needed when new RowNumber > LastRowNumber. In HSSFSheet use can compare LastRowNum with new RowNum to prevent error. In XSSFSHeet can't.

NPOI 2.0 beta 1
.Net 4.0

Thanks.

Viewing all articles
Browse latest Browse all 637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>