Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Comment on "Inserting and Deleting Rows"

$
0
0
It appears to be a bug, I have the same issue. If you select rows using the IXLRows predicate function and want to delete them, it instead deletes all data in the worksheet. If you use clear however, it removes only the data you have selected and leaves the other rows untouched. Using that, you can iterate over the rows and delete the empty ones, more time costly, but I'm not aware of a better way to do it.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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