row mouse hover backcolor

0
0

I want to change the backcolor of row in datagridview while mouse hover.

How we can do this with theme ?

  • You must to post comments
0
0

I’ve attached a custom theme you can try in your project:

If you open the theme in the ThemeBuilder you can modify the color by navigating to:

Appearances > Table Row > Default > styles >css

You can see the hover event with the specified background color.

 

If you create your own theme, you need to:

  1. Remove the backgroundColor style under Table Row > Default > styles
  2. Add the hover css style in Table Row > Default > styles
  3. Remove the backgroundColor style under Table Cell > Odd > styles
  4. Remove the backgroundColor style under Table Cell > Event > styles

 

Let me know if you’re able to get this to work!

HTH,

Levie

Attachment
  • Benjamin Guenard
    Hi Levie, It works fine. Thanx Kind regards, Benjamin
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.