RadGridView AutoExpandGroups problem

5 posts, 1 answers
  1. Guy
    Guy avatar
    6 posts
    Member since:
    Jan 2015

    Posted 22 Jan 2015 Link to this post

    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.
  2. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 24 Jan 2015 Link to this post

    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.

     
  3. Guy
    Guy avatar
    6 posts
    Member since:
    Jan 2015

    Posted 25 Jan 2015 in reply to Stefan Link to this post

    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
  4. Answer
    Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 26 Jan 2015 Link to this post

    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.

     
  5. Guy
    Guy avatar
    6 posts
    Member since:
    Jan 2015

    Posted 27 Jan 2015 in reply to Stefan Link to this post

    Problem solved, Thanks!
Back to Top