This question is locked. New answers and comments are not allowed.
Hi,
I read the following post :
http://www.telerik.com/community/forums/silverlight/gridview/group-description.aspx
The Converters approoach interest me a lot.
Unfortunately, I see that AggregateResult take an AggregateFunction in his constructor but the AggregateFunction is private...
My idea was to derive from AggregateFunction, then add a property 'Order'. Then I could do something like that :
With that, I have a robust way to order the aggregates in the group row header.
So, why is the aggregate function is private, and could you please make the getter public?
Relative (unanswered) post : http://www.telerik.com/community/forums/silverlight/gridview/how-to-change-the-order-of-the-aggregates-in-the-group-row.aspx
I read the following post :
http://www.telerik.com/community/forums/silverlight/gridview/group-description.aspx
The Converters approoach interest me a lot.
Unfortunately, I see that AggregateResult take an AggregateFunction in his constructor but the AggregateFunction is private...
My idea was to derive from AggregateFunction, then add a property 'Order'. Then I could do something like that :
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture){ RadObservableCollection<AggregateResult> aggregates = value as RadObservableCollection<AggregateResult>; return aggregates.Cast(CustomAggregateResult).OrderBy(a=>a.AggregateFunction.Order);}With that, I have a robust way to order the aggregates in the group row header.
So, why is the aggregate function is private, and could you please make the getter public?
Relative (unanswered) post : http://www.telerik.com/community/forums/silverlight/gridview/how-to-change-the-order-of-the-aggregates-in-the-group-row.aspx