Group aggregate row header alignment

8 posts, 0 answers
  1. Sonu
    Sonu avatar
    9 posts
    Member since:
    Sep 2010

    Posted 24 Oct 2010 Link to this post

    Hi

    I am having a group aggregate footer row to show aggregates but then user has to scroll down to see the aggregates summary so I placed group aggregate header so that when user unexpend the group he can see the aggregate summary. but the aggregates are not aligned to the columns to which they belong. They are placed next to each other. Is there any way we can either align the aggregates summary with the column ( in group header) OR is it possible to place a row similar to the group aggregate footer row at the top of each group so that user doest have to scroll don to see the group aggregate summary.

    Thanks
    Sonu
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 25 Oct 2010 Link to this post

    Hello Sonu,

    For achieving either of the two scenarios, you need to predefine some of the Templates of the grid. You may take a look at this forum thread for a reference on the way of placing the GridViewFooterRow below the Header. Considering the second scenario, you may run through the sample project I attach here.
      

    Regards,
    Maya
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Mike Beaton
    Mike Beaton avatar
    18 posts
    Member since:
    Sep 2009

    Posted 17 Jun 2011 Link to this post

    Hi

    This is a great example but I am struggling to be able to remove the grid lines that now appear across the Group header.

    Can anyone point me in the right direction?

    Thanks

    Mike
  5. Mike Beaton
    Mike Beaton avatar
    18 posts
    Member since:
    Sep 2009

    Posted 17 Jun 2011 Link to this post

    Not to worry I figured it out.

    <Style TargetType="telerik:GridViewGroupFooterCell">
            <Setter Property="Padding" Value="0"/>
            <Setter Property="BorderThickness" Value="0"/>
        </Style>

  6. rajkiran
    rajkiran avatar
    2 posts
    Member since:
    Dec 2010

    Posted 18 Aug 2011 Link to this post

    Hi,
         This works fine for me too, but i have a problem, i dont see the aggregate values in the group header initially, once i scroll the screen(i mean gridview, the group header comes up, when i scroll down, the news rows moving-up from the bottom(which were hidden initially, due to the scroll) has the group header,  and then once i move the scroll up,now it will show the aggregate values for the intial rows which were not showing aggregate values earlier.

    Thanks,
    Raj.
  7. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 19 Aug 2011 Link to this post

    Hi Rajkiran,

    I tried to reproduce the issue you reported, but without any success. May you take a look at this small video to check whether my actions are correct and the scenario is similar to yours ?
     

    Regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  8. Josh
    Josh avatar
    1 posts
    Member since:
    Nov 2012

    Posted 22 Oct 2013 Link to this post

    This sample no longer works on the latest build in Silverlight 5.  Can you provide an updated sample please?
  9. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 25 Oct 2013 Link to this post

    Hi,

    With Q3 2012 we added built-in feature for aligning header aggregates with corresponding columns. In order to benefit of this feature all you have to do is to set RadGridView.GroupRenderMode="Flat" and to show column aggregates using this style:

    <Style TargetType="telerik:GroupHeaderRow">
        <Setter Property="ShowGroupHeaderColumnAggregates" Value="True" />
    </Style>

    In this case, if you don't need group row aggregates you can remove them setting this property to false in the same style:
    <Setter Property="ShowHeaderAggregates" Value="False" />

    For more details you can check our
    Aggregates demo. Moreover, you can check this help article as well.Regards,
    Yoan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner