Update aggregates on filteringfiltering

2 posts, 0 answers
  1. Matias
    Matias  avatar
    26 posts
    Member since:
    Mar 2016

    Posted 10 Jun 2016 Link to this post

    I have a client side datasource grid with several count and sum aggregates that display their data correctly, but they doesn't update when a user filters a column that affects the result of such aggregates. Is it possible to do that? The only way I can think of is with an event that updates the footer, but I don't know how to achieve this.

    My grid was created using razor.

    Thanks in advance.

  2. Viktor Tachev
    Viktor Tachev avatar
    2470 posts

    Posted 14 Jun 2016 Link to this post

    Hi Matias,

    Please examine the following example that illustrates how you can update the aggregates in the Grid. The sample shows the jQuery widget , however you can handle the change event and use similar logic for the Grid HtmlHelper.

    Viktor Tachev
    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