Workaround (for default style):
add styles (3 for each background color):
.cellred {
background-color: #ffe6e6; // Main color
}
.x-grid-item-over .cellred {
background-color: color-mix(in srgb, #ffe6e6 33%, #ddd); // mix with hower color
}
.x-grid-item-selected .cellred {
background-color: color-mix(in srgb, #ffe6e6 33%, #98c9ef); // mix with selected color
}
Set cell style:
procedure TFramePodhod.DBG1DrawColumnCell(Sender: TObject; ACol, ARow: Integer; Column: TUniDBGridColumn;
Attribs: TUniCellAttribs);
begin
if something then begin
Attribs.Style.Cls:='cellred';
end;
end;
Result cell background is mixed color: