Hello - I would like to customize the background color of a row when it's highlighted and selected. I've tried the following, but it only works a little.
When hovered, the background color changes, but an ugly gray border still exists along the bottom of the row. Also, when selected, my desired background color only shows up when the selected row is hovered, not all the time.
The ASP/CSS I'm using are below:
ASP for Grid:
CSS for Grid:
Please let me know what I can do... Thanks!
-Ryan
When hovered, the background color changes, but an ugly gray border still exists along the bottom of the row. Also, when selected, my desired background color only shows up when the selected row is hovered, not all the time.
The ASP/CSS I'm using are below:
ASP for Grid:
<!-- Grid -->
<
telerik:RadGrid
runat
=
"server"
ID
=
"rgReport"
>
<%-- Client settings --%>
<
ClientSettings
EnableRowHoverStyle
=
"true"
Selecting-AllowRowSelect
=
"true"
/>
<%-- SelectedItemStyle settings --%>
<
SelectedItemStyle
BackColor
=
"Black"
/>
<%-- MasterTableView Settings --%>
<
MasterTableView
AllowSorting
=
"true"
Caption
=
""
Summary
=
""
ItemStyle-VerticalAlign
=
"Top"
/>
</
telerik:RadGrid
>
CSS for Grid:
tr.rgRow:hover, tr.rgAltRow:hover
{
background-image: none;
background-color: #E9E8D1;
border-bottom: 0px;
margin-bottom: 0px;
padding-bottom: 0px;
}
Please let me know what I can do... Thanks!
-Ryan