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

Extra grouping column

2 Answers 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
SupportTI
Top achievements
Rank 1
SupportTI asked on 08 Jun 2011, 08:12 PM
Hello, 
I've got something strange on my grid, and I don't know where it comes from.  Every row in my grid is preceded by something that looks like a grouping "+".  If I expand the +, I have an empty line that looks like a separator.  Please have a look at my screenshot, since it's quite difficult to explain.  I don't know where that comes from, and I want that to go away!

Anyone knows what is wrong?

Thank you!

2 Answers, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 13 Jun 2011, 05:11 PM
Hello Yves Thibodeau,

Thank you for contacting us.

By looking at the screenshot I can conclude that you have setup a hierarchy. However, the child template does not contain columns. You should remove all templates in the Templates collection of RadGridView to remove the extra row and all '+' signs:
this.radGridView1.Templates.Clear();

If you need further assistance with this, I will be glad to help.
 
All the best,
Jack
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
SupportTI
Top achievements
Rank 1
answered on 13 Jun 2011, 08:00 PM
You are right, that was it.  

Thanks!
Tags
GridView
Asked by
SupportTI
Top achievements
Rank 1
Answers by
Jack
Telerik team
SupportTI
Top achievements
Rank 1
Share this question
or