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

Group Header Row like in PivotGrid

5 Answers 113 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joao Paulo
Top achievements
Rank 1
Joao Paulo asked on 07 Jan 2013, 04:21 PM
Hi,

I wanna have my Group Header Row with aggregates in columns, like happens with PivotGrid.
I've done a Style like this:

        <Style TargetType="telerik:GroupHeaderRow">
            <Setter Property="ShowGroupHeaderColumnAggregates" Value="True" />
            <Setter Property="ShowHeaderAggregates" Value="False" />
        </Style> But the result is double lines: one for group title and another to aggregates. I wanna aggregates in same line that group title but in collumns. Regards, JP.

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 07 Jan 2013, 04:44 PM
Hi,

Actually those are the two properties that you can use the control the group aggregates. You can observe the same behaviour on the Aggregates WPF Demo that allows configuration of the Group properties.
 

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Joao Paulo
Top achievements
Rank 1
answered on 08 Jan 2013, 01:17 PM
Thak you for your response.

Sorry if I wasn't clear, but I've known these properties and I'm using them.
My problem is that totals (aggregates) is showing one row bellow header aggregates.
The control give me two opitions to show aggregates before details: in "header aggregates" row or in "group header columns aggregates" rows.

When I choose to show "header aggregates", the information is not in columns.
When I choose to show "group header columns aggregates" the informations is in one row below "header aggregates".
I wanna the shape of "group header columns aggregates" in the same line of "header aggregates".
It's like what happens with PivotGrid.

I'm now trying using PivotGrid, but I'm reseiving at runtime this error:
"Could not load file or assembly 'Telerik.Windows.Controls.PivotFieldList, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified."

The references are ok and my version is 2012 Q3 NET 45 Trial.

Regards, JP.
0
Accepted
Vlad
Telerik team
answered on 08 Jan 2013, 01:44 PM
Hi,

 I'm afraid that because of the RadGridView structure ShowGroupHeaderColumnAggregates is the best option we can provide. 

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Brett
Top achievements
Rank 1
answered on 24 Nov 2015, 09:49 PM

Hi Vlad -

I was attempting to do the same thing as JP (show the group name and aggregated values on a single line instead of two). However I see from reading this thread that ShowGroupHeaderColumnAggregates is the closest we can get to the desired result. Is this still the case in the latest version of the RadGridView control?

If there is still no way to achieve the described view, can you offer any recommendations for how we might override the behavior or template of the control to achieve this?

Thanks,

Brett

0
Stefan
Telerik team
answered on 27 Nov 2015, 03:50 PM
Hello Brett,

I am afraid that such customization is not supported out of the box by RadGridView as the control is not designed in such way. Moreover, I cannot confirm that it is even possible to achieve such customization. I suggest you either choosing RadPivotGrid control or stick to the default behavior of RadGridView.

Do not hesitate to contact us should you have any other questions on our controls.

Best Regards,
Stefan
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Joao Paulo
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Joao Paulo
Top achievements
Rank 1
Vlad
Telerik team
Brett
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or