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

Group aggregate row header alignment

7 Answers 381 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sonu
Top achievements
Rank 1
Sonu asked on 25 Oct 2010, 03:31 AM
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

7 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 25 Oct 2010, 07:46 AM
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
0
Mike Beaton
Top achievements
Rank 1
answered on 17 Jun 2011, 03:17 PM
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
0
Mike Beaton
Top achievements
Rank 1
answered on 17 Jun 2011, 03:27 PM
Not to worry I figured it out.

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

0
rajkiran
Top achievements
Rank 1
Veteran
answered on 19 Aug 2011, 12:33 AM
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.
0
Maya
Telerik team
answered on 19 Aug 2011, 12:11 PM
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 >>

0
Josh
Top achievements
Rank 1
answered on 22 Oct 2013, 04:53 PM
This sample no longer works on the latest build in Silverlight 5.  Can you provide an updated sample please?
0
Yoan
Telerik team
answered on 25 Oct 2013, 11:49 AM
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 >>
Tags
GridView
Asked by
Sonu
Top achievements
Rank 1
Answers by
Maya
Telerik team
Mike Beaton
Top achievements
Rank 1
rajkiran
Top achievements
Rank 1
Veteran
Josh
Top achievements
Rank 1
Yoan
Telerik team
Share this question
or