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

Footer, subtraction between two columns

1 Answer 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alexandre
Top achievements
Rank 1
Alexandre asked on 24 Jun 2010, 12:46 PM
Hi, I'm working on a grid that has a footer that is the sum of each column. That same Footer need to calculate the difference between these two columns. Can someone help me? 

Thanks, Alexandre.

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 24 Jun 2010, 02:05 PM
Hi Alexandre,

To achieve this you will need to implement a custom aggregate function which takes data from two  columns.

A simillar scenario is demonstrated in the attached project (please have a look at  the MyAggregateMethod.

* It is a Silverlight project but you can use the same approach in WPF ( as Both RadGridView for SL and for WPF use a common API and share a common codebase) .


Best wishes,
Pavel Pavlov
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
Alexandre
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or