I am using “LUMO_WRAP_CELL_CONTENT” for wrapping cell content. This is resulting in other cell content in middle.
How can I vertically align cell content to top?
Thanks
I am using “LUMO_WRAP_CELL_CONTENT” for wrapping cell content. This is resulting in other cell content in middle.
How can I vertically align cell content to top?
Thanks
Hello!
For more custom styling Vaadin provides “part” attributes in Grid (see Styling | Grid | Components | Vaadin Docs).
In your case, I think you can use body-cell
part to align cell content:
vaadin-grid::part(body-cell) {
align-items: start;
}