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

How to set Height in ColumnGroupsViewDefinition

2 Answers 106 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Fabien
Top achievements
Rank 2
Fabien asked on 04 May 2009, 01:46 PM
Hi,

in the last version, I try to set an Height for ColumnGroupsViewDefinition but it don't work.

first try:
ColumnGroupsViewDefinition _ColumnGroupsViewDefinition = new ColumnGroupsViewDefinition();
[...]
_ColumnGroupsViewDefinition.ColumnGroups[1].Rows[0].Height = 45;

second try:
pRadGridView.GridElement.TableHeaderHeight = 45;

Fabien

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 May 2009, 07:09 AM
Hi Fabien,

I have found the following forum link which discusses a similar scenario. Go through it and see if it helps.
http://www.telerik.com/community/forums/winforms/gridview/columngroupsviewdefinition-header-height.aspx

Shinu
0
Martin Vasilev
Telerik team
answered on 07 May 2009, 01:08 PM
Hello Fabien,

Thank you for your question. We still have not changed our API for ColumnGroups height and the link provided by Shinu contains a work-around for this situation.

Do not hesitate to contact me again if you have other questions.

Sincerely yours,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Fabien
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Martin Vasilev
Telerik team
Share this question
or