docs: show how to top-align wrapped Grid cell content - #6183
Merged
Merged
Conversation
Add a Flow example of value-based cell styling with a column part name generator and class names in a renderer, and describe how rows adapt their height to content and how to align cell content to the top. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Preview DeploymentThis PR has been deployed for preview. URL: https://docs-preview-pr-6183.fly.dev Changed pagesAdded content is highlighted in green; removed content is marked in red on each page.
Built from 3c26a1f |
totally-not-ai Bot
added a commit
to vaadin/cookbook
that referenced
this pull request
Sep 26, 2026
These recipes are covered by the component and building-apps documentation, either already or through the examples added in vaadin/docs#6183, #6184, #6185, #6186 and #6187: - Grid styling: dynamic cell/row background, cell styling, row height, editable cells, ComboBox item background and item spacing - Grid columns and renderers: hyperlinks, images, sorting with renderers, locale-aware numbers, details table, column toggle, responsive columns, records, Map items with Binder - Grid interaction: arrow-key selection, drag-and-drop reordering, drill down, lazy loading errors, CSV import and export - TreeGrid: filtering, recursive selection, icons, file tree - Forms: auto-applied converters, upload validation, leaving a dirty form, form tabs, editable labels, locale from cookie, lazy Details - Styling and layout: progress bar color, resizable components, dialog slide animation, printing selectively, dialog shortcuts, weekend highlighting, split button bar, overflowing MenuBar The CSV file shared with the "Download text area contents as a file" recipe moves to that recipe's package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vursen
reviewed
Sep 28, 2026
…e docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vursen
reviewed
Sep 28, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the tooltip sentence directly after the wrap example and drop the row height sentence, which the Dynamic Height section already covers. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
vursen
approved these changes
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds a short tip to the Grid styling docs. By default, wrapped cell content is centered vertically. The tip shows how to align it to the top of the row with CSS instead.
What changed
articles/components/grid/styling.adoc, under the Wrap Cell Content part, added one sentence and a CSS example. The example setsalign-items: starton thebody-cellpart: