6 Answers, 1 is accepted
Hi Tom,
Thank you for contacting me.
Right above the rows area, there is a white space used for the grouping panel. Once you drop a column in the grouping panel, the RadGridView will be grouped by this column. If you don't wish to use this feature you can hide the grouping panel by setting its Visibility to Collapsed. Consider the code below:
((GridTableElement)this.radGridView1.GridElement).Children[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed; |
I hope this helps. Do not hesitate to write me, if you have other questions.
Best regards,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Yeah I figured that out. I feel stupid hahaha.
I do have another question. We have a form that has several grids on it stacked vertically. Vertical space in each grid is at a premium and I want to cut out any wasted space.
I changed the height of the header columns using the Visual style editor and changing the GridHeaderRowElement section. I changed the AutoSize property to false, and then changed the height in the bounds section.
This worked fine to change the height of the header column, however, the container section in still the original height. How do I adjust the height of the container itself?
The column header row uses the TableHeaderHeight property of the GridTableElement to get its size. When the AutoSize property is set to true, this behavior is broken. I woud suggest using the TableHeaderHeight property.
Let us know, if you need further assistance.
Kind regards,
Jack
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Here it is:
radGridView.ShowGroupPanel =
false
;
I am glad that the problem you were facing is now resolved. You can also refer to the grouping section in the online documentation for any further information: https://docs.telerik.com/devtools/winforms/gridview/grouping/basic-grouping
I hope this information helps. If you have any additional questions, please let me know.
Regards,
Dess
Progress Telerik