Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

[XSSF] row.Cells.Count doesn't equal row.LastCellNum #30

Closed
onahirniak opened this issue Oct 10, 2017 · 2 comments
Closed

[XSSF] row.Cells.Count doesn't equal row.LastCellNum #30

onahirniak opened this issue Oct 10, 2017 · 2 comments

Comments

@onahirniak
Copy link

I have 12 columns in my excel with blank and numeric cells.
row.Cells property returns only 2 cells, but row.LastCellNum property returns correct(12) number of cells.

@onahirniak onahirniak changed the title row.Cells.Count doesn't equal row.LastCellNum [XSSF] row.Cells.Count doesn't equal row.LastCellNum Oct 10, 2017
@yang-xiaodong
Copy link
Member

This is expected.
Make sure all cells are active if you want practical cells count without NULL.

@onahirniak
Copy link
Author

Okay, thanks

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

No branches or pull requests

2 participants