Skip to content

test: cover header row visibility with null header and header renderer#12179

Merged
web-padawan merged 1 commit into
mainfrom
test-grid-null-header-with-renderer
Jul 17, 2026
Merged

test: cover header row visibility with null header and header renderer#12179
web-padawan merged 1 commit into
mainfrom
test-grid-null-header-with-renderer

Conversation

@vursen

@vursen vursen commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Setting header to null hides the header row unless something else keeps it visible. When a column also has a headerRenderer, the row must stay visible: a null header should only suppress the default header text, not hide content produced by the renderer. This behavior wasn't covered by tests, and an early version of the declarative header/footer rendering refactor accidentally broke it. This adds a test to lock in the current behavior.

Extracted from #12134

Part of #10789


🤖 Generated with Claude Code

@vursen
vursen requested a review from web-padawan July 17, 2026 12:17
@sonarqubecloud

Copy link
Copy Markdown

@vaadin-review-bot vaadin-review-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Nothing to flag — the changes look good.

@web-padawan
web-padawan merged commit 5d9890a into main Jul 17, 2026
14 checks passed
@web-padawan
web-padawan deleted the test-grid-null-header-with-renderer branch July 17, 2026 12:29
@vaadin-bot

Copy link
Copy Markdown
Collaborator

This ticket/PR has been released with Vaadin 25.3.0-alpha6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants