Skip to content

Fix excel header detection on a leading hidden row#916

Merged
SimonCropp merged 2 commits into
mainfrom
Fix-Excel-header-detection-on-a-leading-hidden-row
Jun 30, 2026
Merged

Fix excel header detection on a leading hidden row#916
SimonCropp merged 2 commits into
mainfrom
Fix-Excel-header-detection-on-a-leading-hidden-row

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

No description provided.

GetColumns read column headers from a hardcoded row 0. When the first row
is hidden/empty (no cells), that row has no values, so every column came
back with a null name instead of the real headers one row down.

Headers are now read from the first populated row (cells.FirstCell.Row).
Adds the HiddenRow sample/test ported from Verify.OpenXml.
@SimonCropp SimonCropp added this to the 5.25.0 milestone Jun 30, 2026
@SimonCropp SimonCropp merged commit c123019 into main Jun 30, 2026
3 of 4 checks passed
@SimonCropp SimonCropp deleted the Fix-Excel-header-detection-on-a-leading-hidden-row branch June 30, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant