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

Groupby Row - Autosize.

3 Answers 134 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Khizar Khan
Top achievements
Rank 1
Khizar Khan asked on 16 Jul 2010, 02:14 PM
Hi,

I have a row where it is has multiple lines, when I group by that column, I am not able to change the rowsize of the grouped row. it shows only half of the rowdetails.

can you please advise whether this is possible or not?

I have enclosed the screen print for a better understanding of the problem, .

regards,
Khizar

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 20 Jul 2010, 06:43 AM
Hi Khizar Khan,

You can change the group header height by setting the GridTableElement.GroupHeaderHeight property. Here is a sample:

this.radGridView1.TableElement.GroupHeaderHeight = 40;

 

Kind regards,
Jack
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Khizar Khan
Top achievements
Rank 1
answered on 20 Jul 2010, 12:41 PM
Hi,

i am not getting this property tableelement in radgridview1.

I am using Q3 2009 SP1. is this not available in this release?

Also, Can this not be done as AutoSize? coz not all the columns which are groupable have multilines?

and One more question is how do I access the particular group,

suppose if i want to if the group is a then set TableElement.GroupHeaderHeight = 40;

or else set the to soemthing else TableElement.GroupHeaderHeight = 20;


regards,
khizar
0
Jack
Telerik team
answered on 20 Jul 2010, 05:39 PM
Hi Khizar Khan,

We introduced this property in our latest release - Q2 2010. I strongly recommend that you try this version. It contains many new features and we re-factored both the UI and the data layer. 

The size of group header rows doesn't change when using auto size rows mode. Even in this case you should set the height manually. We know about this limitation and we will extend the auto size rows functionality in our future versions. However, when using Q2 2010 you can set the group row height independently. Here is a sample:

this.radGridView1.Groups[1].HeaderRow.Height = 40;

I hope this helps.


All the best,
Jack
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Khizar Khan
Top achievements
Rank 1
Answers by
Jack
Telerik team
Khizar Khan
Top achievements
Rank 1
Share this question
or