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

RadGrid inside of a Table AltRow color not working.

2 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dan Miller
Top achievements
Rank 1
Dan Miller asked on 04 Jul 2011, 07:16 PM
I have a RadGrid using a custom skin that is inside of a row in a table with alternating row colors. The background color for the table row seems to be overriding the alternating row color for the RadGrid. i checked all the styles on my grid using Firebug and the .rgAltRow class is on my RadGrid row with the correct background color in the CSS. I have tried putting !important after the color and that changed nothing.

.RadGrid_MailMerlin .rgAltRow
{
    background: #ededed;
}

I have attached a screenshot of my grid. If you need any other code/css please let me know!

Thanks in advance.

Dan

2 Answers, 1 is accepted

Sort by
0
Galin
Telerik team
answered on 08 Jul 2011, 07:24 AM
Hello Dan Miller,

Perhaps you have set yellow background on the cells or other elements which hide the style of the row. However your way for setting the background color of the alternating rows is right.

I hope this helps.

Best wishes,
Galin
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Dan Miller
Top achievements
Rank 1
answered on 08 Jul 2011, 06:44 PM
Yes the table has a background color set on its cells. I will try playing with that and see if I can fix the problem thanks!
Tags
Grid
Asked by
Dan Miller
Top achievements
Rank 1
Answers by
Galin
Telerik team
Dan Miller
Top achievements
Rank 1
Share this question
or