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

About collapse radgridview

1 Answer 115 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Walter
Top achievements
Rank 1
Walter asked on 07 Jun 2012, 12:37 PM
Hello everybody

I've problem with radgridview.. Can i set auto collapse group in radgridview? Because i set the properties "AutoExpandGroup" to "False" but this code doesn't happen.. Can you give me another solution?

Cheers..

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 12 Jun 2012, 08:30 AM
Hello Walter,

Thank you for writing.

In order to collapse the groups in a template, you can use the following method:
radGridView1.MasterTemplate.CollapseAllGroups();

The property mentioned will automatically expand a group row, when it is created.

I hope this helps. 
 
All the best,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Walter
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or