Custom aggregate SUM function

2 posts, 0 answers
  1. Igor
    Igor avatar
    4 posts
    Member since:
    May 2016

    Posted 31 May 2016 Link to this post

    Hi

    I need aggregate function SUM to skip some column values based on other column value. In another words I don't want to include all column values in sum but only those for which the another column value, say Record_ID == 1. I think of a kind of custom function with if condition.
    Is it possible in grid?
  2. Daniel
    Admin
    Daniel avatar
    2231 posts

    Posted 02 Jun 2016 Link to this post

    Hello Igor,

    Custom aggregate functions are not supported by the dataSource but it should be possible to implement the scenario by using the dataSource data and a footerTemplate for the column - example.

    Regards,
    Daniel
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top