Vertically align cell contents to top of cell

Is there a way to align the grid cell contents to the top of the cell? I’m looking for a Java way, if at all possible, but will fall back to CSS if I absolutely have to. I’ve searched the API, the component docs, and tutorials with no luck. See the first, third and fourth column cells how they are favoring the middle of the row/cell instead of the top.
image.png

hmmm, I may have found it.

.setTextAlign(ColumnTextAlign)

I missed it in the API. DOH!

Nope, column headers only. sigh

I’m afraid you’ll need a teeny bit of CSS.

This should work in V24:

vaadin-grid::part(body-cell) {
    align-items: flex-start;
}```

I can live with that (twisting my arm) :wink:

Yep, works well. Thanks!!!
image.png