Hi,
I'm using the UniDBGrid OnDrawColumnCell event to colorize cells background
according to a query field value.
I've hidden the selection as explained in this post:
http://forums.unigui.com/index.php?/topic/5111-hiding-focus-lines-in-tunidbgrid/
Therefore, I added these lines to the CustomCSS property:
.x-grid-row .x-grid-cell-selected {
background-color: #FFFFFF !important;
}
.x-panel .x-grid-body {
border-width: 0
}
Now, the problem is that when the user selects a cell with a custom background color defined
in the OnDrawColumnCell event, that color is replaced by the selection color, in my case by
color white.
Is there a way to have the selected cell use the background color defined in OnDrawColumnCell event ?
Thanks
Andrea