This is a migrated thread and some comments may be shown as answers.

How can I make the selected row style the same as the highlighted row style

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Quinten
Top achievements
Rank 1
Quinten asked on 24 Aug 2011, 05:34 PM
Hello,

I have a RadGrid which has a skin of WebBlue. I have turned the EnableHoverStyle on and the AllowRowSelect is also True.
How can I make the selected row style the same as the highlighted row style?
I know I can edit the Selected row style manually but I just want it to be exactly the same as the hover style.

Thank You

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Aug 2011, 11:08 AM
Hello Patrick,

You can try the following CSS to achieve your scenario.
CSS:
<style type="text/css">
  .RadGrid_WebBlue .rgSelectedRow
  {
    background: Red !important;
    border-top: solid 1px #e9e9e9;        
  }
  .RadGrid_WebBlue .rgHoveredRow
   
     border-top: solid 1px #e9e9e9;
     background: Red !important;
   }
</style>

Thanks,
Shinu.
Tags
Grid
Asked by
Quinten
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or