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

Need formula based columns

1 Answer 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Arpit
Top achievements
Rank 1
Arpit asked on 19 Nov 2010, 06:36 AM
I am using  RadGridView to display some data.

When data in one column changes, I want to change the data in another column based on a simple formula.
For example: When data in Age column is edited, I want to change the other column's (Premium) value as Premium = (Age * 1.2)

Handling CellEditEnded or RowEditEnded doesn't help at all. Any ideas?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 19 Nov 2010, 08:27 AM
Hi,

 Why not do this directly in your data model - the grid will react immediately if your objects are INotifyPropertyChanged. You can try also our new calculated column

Sincerely yours,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
Arpit
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or