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

aggregate function update on one function

3 Answers 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David Ocasio
Top achievements
Rank 2
Veteran
David Ocasio asked on 28 Oct 2010, 01:11 AM
i have read in the forums that the aggregate functions do not recalc on a propery change.
Also that the correct way to correct this is to use  "gridView.CalculateAggregates"

My Question:
Is there a more granular "calculateaggregate" fuction i could use on one column since i do not want all the columns aggregates recacled just on of the functions ?

thanks
dco

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 28 Oct 2010, 08:18 AM
Hi David Ocasio,

Basically, the aggregate results should be recalculated on change of the values inside the particular column, once you implement the INotifyPropertyChanged Interface. Please provide us with more details about your exact scenario so that we could investigate it.
 

Kind regards,
Maya
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
David Ocasio
Top achievements
Rank 2
Veteran
answered on 28 Oct 2010, 11:00 AM
yes that is exactly what i am doing and it is working.

but i have quite a few aggregate functions on a number of columns
and i was just wondering if there was a existing method to recalc just the column where the data changed
it seemed to be to be less obtrusive then recalcing all the columns by using the entire gridview scope.

0
Maya
Telerik team
answered on 28 Oct 2010, 12:34 PM
Hello David Ocasio,

For the time being RadGridView does not provide such method. However, if you share more details about the exact purpose of that requirement, we may be able to suggest any proper solution. 
 

Best wishes,
Maya
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
David Ocasio
Top achievements
Rank 2
Veteran
Answers by
Maya
Telerik team
David Ocasio
Top achievements
Rank 2
Veteran
Share this question
or