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

RadGrid Alternate row

2 Answers 148 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ajay
Top achievements
Rank 1
Ajay asked on 16 May 2011, 08:08 AM
Hi,

I am using RadGrid, I want the alternate rows should be just look like normal item rows, so I set the AlternateItemStyle-BackColor to white, this works fine.
But a thin horizontal line is still coming in the bottom of alternate rows, see the attached snapshot.
How can I get rid of this thin line?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 16 May 2011, 09:38 AM
Hello Ajay,

Try setting the alternate row style by overriding the default CSS as shown below.
CSS:
.RadGrid_<skinName>.rgAltRow td 
    background-color:#FFFFFF !important
    border-bottom-color:#FFFFFF !important
}

Thanks,
Shinu.
0
Ajay
Top achievements
Rank 1
answered on 16 May 2011, 09:45 AM
Thanks a lot Shinu, it worked like charm.
Tags
Grid
Asked by
Ajay
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ajay
Top achievements
Rank 1
Share this question
or