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

Remove row separator from radGrid?

1 Answer 277 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 04 Jan 2013, 10:01 PM
Hi, in the attached image I'm seeing a thin gray line that I can't remove from the bottom of the every other row.  I tried removing it by overriding the following styles I saw in the source since I thought it was part of the rgAltRow class but I had no luck

.rgAltRow .rgRow

 background-image: none !important; 
 border-style:none !important;
}

Any help would be appreciated.  I probably find these type of css formatting issues the most difficult to deal with regarding telerik controls since I'm not sure what I need to override.

Thanks, Dave

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Jan 2013, 04:54 AM
Hi David,

Try the following code snippet to achieve your scenario.

CSS:
<style type="text/css">
     .RadGrid_Default .rgRow td, .RadGrid_Default .rgAltRow td
     {
        border:none !important;
     }
</style>

C#:
protected void Page_Load(object sender, EventArgs e)
{
    RadGrid1.AlternatingItemStyle.BackColor = Color.White;
}

Hope this helps.

Regards,
Princy.
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or