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

RadGridView AutoExpandGroups problem

4 Answers 246 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Guy
Top achievements
Rank 1
Guy asked on 22 Jan 2015, 09:14 AM
Hello,

I'm using telerik 2012 for WPF (Telerik.Windows.Controls.GridView.dll file version is 2012.3.1129.40).

I've defined grouping for a RadGridView, and set the AutoExpandGroups property to True.

When the Grid is opened, the groups are expanded, yet an empty area appears below the grid, and disappears only after I collapse and expand again one of the groups.

Please see the attached screenshot.

Thanks,
Guy E.

4 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Jan 2015, 03:02 PM
Hello Guy,

I was not able to reproduce the issue you described. I set up a sample project containing the assemblies that you are using. Could you please modify it in a way that it reproduces the issue and send it back to us?

Kind Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Guy
Top achievements
Rank 1
answered on 25 Jan 2015, 12:24 PM
Hi,

I've attached a modified version of your project, and a screen shot of what I see when I run the program.

The PNG file attached is actually a RAR file (there's an extension filter in your forum posts attachments), please change its extension to .rar

Note that the RadGridView is contained in a StackPanel (just an example, it look the same in a grid).

Thanks,
Guy
0
Accepted
Stefan
Telerik team
answered on 26 Jan 2015, 04:48 PM
Hi Guy,

Thank you for modifying the sample project. To avoid the current grouping behavior of the RadGridView you should set the GroupRenderMode to "Flat". Please check  the code snippet below:

<telerik:RadGridView GroupRenderMode="Flat"/>
The "Flat" mode is our new virtualization mechanism. You can refer to the Grouping Modes documentation article for further reference.

As a side note, we do not recommend our customers to use the RadGridView in controls/panels which will measure it with infinity, as this turns off the RadGridView virtualization. You can check more about improving the RadGridView performance in the Tips and Tricks documentation article.

Kind Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Guy
Top achievements
Rank 1
answered on 27 Jan 2015, 07:57 AM
Problem solved, Thanks!
Tags
GridView
Asked by
Guy
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Guy
Top achievements
Rank 1
Share this question
or