ListView GroupHeaderTemplate - aggregates?

2 posts, 0 answers
  1. Erik
    Erik avatar
    52 posts
    Member since:
    Jan 2011

    Posted 30 Sep 2015 Link to this post

    Is it possible to do aggregates in a ListView's GroupHeaderTemplate?

    Consider a POCO like:

    public class ProductSales


         public string Category {get; set;}

         public string ProductName {get;set;}

         public int QtySold {get;set;}

         public decimal SoldAmt {get;set;}


    And then you want to show a list of those items in a ListView, grouped by Category.  You might want to include a sum of both the QtySold and SoldAmt properties in the group header, and maybe even a count of the ProductName values. 

    Is this possible?


    Thanks -


  2. Tsvyatko
    Tsvyatko avatar
    863 posts

    Posted 05 Oct 2015 Link to this post

    Hi Erik,

    Currently this feature is not supported by ListView. However, as it is feature that the control can benefit in various scenarios I have logged it as feature request in our portal where you can track its progress -

    I have also updated your telerik point accordingly.

    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