I want to use my own custom background-image that partly fills the cell, but it seems to also override the selected row background color, and I don’t see why.
Here’s how my grid looks:
And here’s part of my styling
.myScreen {}
&& vaadin-grid {
&&::part(requeststatus-greenIcon) {
background-image: url(icons/green-requeststatus.png);
background-repeat: no-repeat;
background-size: auto 70%;
background-position: center;
}
The partName is set by a gridCol.setPartNameGenerator