Hello,
I have a RadGridView and I want to show summary of the column with some condition.
The data is as follow
____________________
name | price | discount
---------------------------------
name1 | price2 | discount2
---------------------------------
name2 | price3 | discount3
---------------------------------
name2 | price4 | discount4
---------------------------------
I want to my gird show summary something like this:
----------------------------------
total price of name1: price2 * discount2
total price of name2: (price3 * discount3) + (price4 + discount4)
----------------------------------
Grouping the name of name column to set the name of row summary, here is name1 and name2. In other hand, get the price and discount where name column to calculate total price. How can I customize this sum operation?
I have a RadGridView and I want to show summary of the column with some condition.
The data is as follow
____________________
name | price | discount
---------------------------------
name1 | price2 | discount2
---------------------------------
name2 | price3 | discount3
---------------------------------
name2 | price4 | discount4
---------------------------------
I want to my gird show summary something like this:
----------------------------------
total price of name1: price2 * discount2
total price of name2: (price3 * discount3) + (price4 + discount4)
----------------------------------
Grouping the name of name column to set the name of row summary, here is name1 and name2. In other hand, get the price and discount where name column to calculate total price. How can I customize this sum operation?