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

[Solved] Sum Columns

1 Answer 118 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.
Johnny
Top achievements
Rank 1
Johnny asked on 27 Oct 2009, 04:45 PM
I have a gridview with seven columns which are grouped by Type (column 1).  I would like to total each of the remaining columns for each group as well as a total for each column for all groups.  Any help would be appreciated - using vb.

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 30 Oct 2009, 02:00 PM
Hi Johnny,


The example here demonstrates how to display different totals based on values in columns. If you group by  a column you will see some totals in the column footers as well.

By clicking the "view code" button in the sample you will see the relevant XAML and C#/VB code for your copy /paste needs.

In case you have troubles implementing this into your project don't hesitate to drop me a line.

Regards,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Johnny
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or