Visual difference between GroupRenderMode "Flat" and "Nested"?

3 posts, 1 answers
  1. ClausDC
    ClausDC avatar
    61 posts
    Member since:
    Feb 2010

    Posted 21 Mar 2013 Link to this post

    Is there a visual difference between the two GroupRenderModes?

    When I alternate between these settings, I don't see any visual difference in how Grouping is presented so I'm wondering if it is even working in my grid.

    Maybe it's only an internal difference in performance?

    Some images in the documentation would be really helpful there.
  2. Answer
    Yoan
    Admin
    Yoan avatar
    1182 posts

    Posted 21 Mar 2013 Link to this post

    Hi Claus,

    Actually, RadGridView with GroupRenderMode=Nested would appear in the same way as RadGridView with GroupRenderMode=Flat. I will try to explain what are the differences between the two modes:

    The old mode (Nested) would nest GridViewGroupRows into one another when you had grouping on many levels. This lead to a very poor performance when the grid was grouped on several levels and had a lot of data. The entire groups had to be realized instead of realizing just what is seen on the screen. So if the groups were very high -- virtualization was almost useless and it was slow.

    On the other hand, the new Flat mode simply renders rows one below the other -- it does not nest anything in anything. This leads to a huge performance boost when the grid is grouped on several levels and there is a lot of data involved.

    Thank you for the suggestion about our documentation. It will be updated next week.


    All the best,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. ClausDC
    ClausDC avatar
    61 posts
    Member since:
    Feb 2010

    Posted 21 Mar 2013 Link to this post

    Thanks for your detailed answer!
Back to Top