none of these work
when checking the cell with developer tools, the cell entry looks like: <vaadin-grid-cell-content slot="vaadin-grid-cell-content-3">300.0</vaadin-grid-cell-content>
the className I gave to row/cell is not present anywhere
Please note, that I am completely off to html or javascript, so I can utilize only Java api solutions.
(the bold class already exists, and I can make the cell look bold with developer tool and edit the tag’s class value)
(this was just working with Vaadin7/8 without hassle)
Now I found my ‘bold’ classname in the DOM… under a #shadow-root
so, I guess the css I defined in the main DOM doesn’t work in the shadow, which is separated from the rest of the DOM.
Now I found my ‘bold’ classname in the DOM… under a #shadow-root
so, I guess the css I defined in the main DOM doesn’t work in the shadow, which is separated from the rest of the DOM.
I have a strange situation. I am using Vaadin bom 14.1.28.
I followed this approach, and it works (initially).
However, if I refresh the browser (Ctrl-F5) the css classes are not present anymore in the shadow-dom style, hence the style is not applied to the grid.