How to custom header Group row when Grouping?

2 posts, 0 answers
  1. Minh
    Minh avatar
    13 posts
    Member since:
    Dec 2013

    Posted 04 Nov 2014 Link to this post

    Hi everyone, 
    i have a radgridview, 3 columns (customerLastName, customerFirstName, Money). 
    When it might groupby by customerLastName, i want to group header row is "customerLastName + total  of Money". 

    Amy - 5,000,000
        Barbara 2,000,000$
        Belinda 2,000,000$
        Emily    1,000,000$

    how to implement it?
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 06 Nov 2014 Link to this post


    You can define aggregate function to calculate the total of money. For example you can check the Aggregates demo on the WPF ExamplesYou can also redefine the GroupHeaderTemplate and specify a proper DataTemplate for it. 

    I hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top