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

[Solved] Total of a row of the other columns

1 Answer 115 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jingying Wu
Top achievements
Rank 1
Jingying Wu asked on 20 Aug 2009, 07:41 PM
How do i have a column(Total) that is the sum of the row?
ie.

Total   Pass   Fail
1         0         1
3         2         1

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Aug 2009, 07:34 AM
Hello Jingying Wu,

If you use MVVM pattern you can simply add new property to your model with desired calculation. I've attached small example to illustrate you other possible approach with simple GridViewColumn.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Jingying Wu
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or