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

Showing Aggregate Functions

2 Answers 53 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mike Cohen
Top achievements
Rank 1
Mike Cohen asked on 29 Jan 2010, 04:43 AM
Is it possible today in the GridView to provide a menu in the column header that will turn on and off summary functions for columns? I can provide a way for my users to do this, but if there is built in support I would like to use it.

Thanks,
Mike

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Jan 2010, 07:21 AM
Hi Mike,

We don't have any built-in menu for aggregates however you can check this blog post for possible approach on how to implement something similar:
http://blogs.telerik.com/pavelpavlov/posts/10-01-22/math_toolbar_for_column_headers_in_radgridview_for_silverlight.aspx

Or you can attach context menu for the grid and add/remove desired aggregate function for desired column.

Kind regards,
Vlad
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.
0
Mike Cohen
Top achievements
Rank 1
answered on 29 Jan 2010, 02:54 PM
Thanks Vlad. This is helpful, but unfortunately this places the controls to the left of the sort indicator. I suppose I will have to set the template for this control to get it to show as I would like.

Thanks,
Mike
Tags
GridView
Asked by
Mike Cohen
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mike Cohen
Top achievements
Rank 1
Share this question
or