Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
SelectionColour is overriden by cell or row Background color
posted

Hello,

We want to be able to "highlight" cells and/or rows. We do this by changing their respective background colours. Using cell.Style.BackColor and row.Style.BackColor.

We also have a SelectedRowStyle in a different colour.

When the row is not selected, we want to see the highlight colours. But when the row is selected, we only want to see the selection colour. However, as it is now, the selection colour is overridden by the row.Style colours.

Is there an easy way to change this behaviour? I can think of some special client-side or server-side code to add/remove the backcolors. But this must be easier... no?

Parents
No Data
Reply Children
No Data