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
1705
How can I make the highlight bar transparent?
posted

I'm using cell colors to indicate things and I don't want them overridden by the highlight bar that shows the active/selected row.  I've tried setting the BackColor property of Active or Selected row to Transparent, but that's  not doing the trick.  What should I be doing?

Parents
No Data
Reply
  • 469350
    Offline posted

    When you apply an appearance to the Cell, you can also apply the same appearance to the cell's SelectedAppearance and/or ActiveAppearance. That way, when the row is cell is selected, it still maintains the same colors.

    Another option would be to use the SelectionOverlay properties. This makes the selection in the grid behave like Excel where the selection draws a semi-transparent overlay on top of the row so you can still see the cell color underneath.

    If you just want to turn off selection entirely, you would use the SelectTypeRow and/or SelectTypeCell property on the Override.

Children