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

Refresh AggregateResults

2 Answers 128 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bartosz
Top achievements
Rank 1
Bartosz asked on 08 Sep 2011, 08:53 AM
Hi,

How can I recalculate AggregateResults for group footers?
I know it can be accomplished by calling rebind method on grid but I cannot use it as it is changing order of items. Is there any other why to do that?

Bartosz

2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 08 Sep 2011, 09:02 AM
Hello Bartosz,

 

You may also try the approach demonstrated in the following forum thread "CalculateAggregates doesn't work". Please take a look at it and let me know how this works for you. 



Greetings,
Vanya Pavlova
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Bartosz
Top achievements
Rank 1
answered on 08 Sep 2011, 10:48 AM
Cool it worked. Thanks!

As I am using MVVM pattern I've created custom behaviour which is using this approach and allows to notify view from view model to refresh aggregates.
Tags
GridView
Asked by
Bartosz
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Bartosz
Top achievements
Rank 1
Share this question
or