This question is locked. New answers and comments are not allowed.
Is there a quick way to SumFunction?
e.g. I can use SumCount like so:
But, for a SumFunction, it seems to crash unless I explicitly define the Sourcefield like so
Is there a way to make the SumFunction, automatically use the source from the parent column?
e.g. I can use SumCount like so:
| <telerikGridView:GridViewDataColumn Header="Qty" Width="40" DataMemberBinding="{Binding quantity}"> |
| <telerikGridView:GridViewDataColumn.AggregateFunctions> |
| <telerikData:CountFunction Caption="Count: " /> |
| </telerikGridView:GridViewDataColumn.AggregateFunctions> |
| </telerikGridView:GridViewDataColumn> |
But, for a SumFunction, it seems to crash unless I explicitly define the Sourcefield like so
| <telerikGridView:GridViewDataColumn Header="Amount" Width="75" DataMemberBinding="{Binding totalinc}" |
| DataFormatString="{}{0:c}"> |
| <telerikGridView:GridViewDataColumn.AggregateFunctions> |
| <telerikData:SumFunction SourceField="totalinc" /> |
| </telerikGridView:GridViewDataColumn.AggregateFunctions> |
| </telerikGridView:GridViewDataColumn> |
Is there a way to make the SumFunction, automatically use the source from the parent column?