Group Header Row like in PivotGrid

6 posts, 1 answers
  1. Joao Paulo
    Joao Paulo avatar
    6 posts
    Member since:
    Dec 2012

    Posted 07 Jan 2013 Link to this post

    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.

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 07 Jan 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Joao Paulo
    Joao Paulo avatar
    6 posts
    Member since:
    Dec 2012

    Posted 08 Jan 2013 Link to this post

    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.
  5. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 08 Jan 2013 Link to this post

    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.

  6. Brett
    Brett avatar
    10 posts
    Member since:
    Dec 2013

    Posted 24 Nov 2015 in reply to Vlad Link to this post

    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

  7. Stefan X1
    Admin
    Stefan X1 avatar
    523 posts

    Posted 27 Nov 2015 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready