This is a migrated thread and some comments may be shown as answers.

Update aggregates on filteringfiltering

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matias
Top achievements
Rank 1
Matias asked on 11 Jun 2016, 01:10 AM

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.

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 14 Jun 2016, 10:58 AM
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.



Regards,
Viktor Tachev
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
Tags
Grid
Asked by
Matias
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or