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

Hide the grid view row separator lines

2 Answers 316 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 22 Oct 2018, 08:19 AM

Hello,

I'm unable to hide the grid view row separator lines, Please check image and do the needful.

 

 

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 22 Oct 2018, 09:00 AM
Hello, Marco, 

In order to hide the cells' borders, it is suitable to use the CellFormatting event as it is demonstrated below: 

private void radGridView1_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
    e.CellElement.DrawBorder = false;
}



I hope this information helps.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Marco
Top achievements
Rank 1
answered on 22 Oct 2018, 10:23 AM

Hey, Dess

Thank you it's working fine  :)

Tags
GridView
Asked by
Marco
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Marco
Top achievements
Rank 1
Share this question
or