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
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.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
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.
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.
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
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