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

AggregateFunctions on ExpressionColumns

1 Answer 28 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 2
Mike asked on 04 May 2011, 08:00 PM
I am at wits end trying to make this work.  How can I an an aggregate summing function to this expression?
GridViewExpressionColumn budVarCol = gridAdmssions.Columns ["BudVar"] as GridViewExpressionColumn;
System.Linq.Expressions.Expression<Func<AdmissionsExportPM, int>> expression1 = admit => admit.CurrentYearAdmit.ADMITS - admit.BudgetYearAdmit.ADMITS;
budVarCol.Expression = expression1;

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 05 May 2011, 06:55 AM
Hello Mike,

You can use a generic AggregateExpression. Please take a look at this forum thread for further reference as well as a sample project.
 

Greetings,
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
Mike
Top achievements
Rank 2
Answers by
Maya
Telerik team
Share this question
or