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

Expanding Groups

1 Answer 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Zoomer
Top achievements
Rank 1
Zoomer asked on 22 Sep 2009, 02:33 PM
What is the best way to expand groups within a grid?  I only have one level of grouping and wish to expand it to show the various rows.  Thanks.

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 24 Sep 2009, 06:18 AM
Hello Zoomer,

You can set the AutoExpandGroups property to true and all groups will be automatically expanded. However, If you want to expand some specific group, just call its Expand method. Here is a sample:

this.radGridView1.MasterGridViewTemplate.AutoExpandGroups = true
// or 
this.radGridView1.Groups[5].Expand(); 

All the best,
Jack
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Zoomer
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or