Link to home
Start Free TrialLog in
Avatar of Ashok
AshokFlag for United States of America

asked on

DataGrid Silverlight 3.0 Calculated Value In a Column

If I have few columns with double (number), is it possible to have an extra column, for example,

col1.Binding = new Binding("Num1")
col2.Binding = new Binding("Num2")

How can I have an extra column col3 = Num1 * (1 + Num2)?

So that every time user changes value of col1 or col2, value in col3 would automatically show based on calculation.
I mean bind the col3 in such a way to have above calculation as part of col3's binding.

Thanks,
Ashok
ASKER CERTIFIED SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ashok

ASKER

EDDYKT,

I think this will work.  I still have to implement it.

Thanks,
Ashok