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

How to implement aggregation function menu

3 Answers 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark Reidman
Top achievements
Rank 1
Mark Reidman asked on 06 Jul 2010, 02:01 PM
Hi ,

I have been using Infragistics winform grid in my past projects, it had a wonderfull functionality of giving the user to choose in real time between the available aggregate functions in Grid's footer (just like the filtering option).
So basically, there was another icon next to the filtering icon, clicking on it provided pop up window with count, sum etc.. functions, choosing aggregate function showed the result in the footer of the Grid.

I need excatlly the same functionalitty in my application - How can this be implemented?
Could you please provide with example.

Thank you ahead,
Mark

3 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 07 Jul 2010, 10:22 AM
Hello Mark Reidman,

 I'm attaching a sample solution that implements a custom control (much like our FilteringDropDown control) that allows you to select and apply aggregate functions. I have also modified the GridViewHeaderCell template to place it next to the Filter icon. You can use this solution as a starting point.

Please let me know if you need further assistance.

Sincerely yours,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mark Reidman
Top achievements
Rank 1
answered on 07 Jul 2010, 11:37 AM
Thank you very much - it is exactly what I was looking for.
0
Pavel Pavlov
Telerik team
answered on 07 Jul 2010, 11:46 AM
Hello Mark Reidman,

You may also  find this blog post helpful for your scenario.

Sincerely yours,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Mark Reidman
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Mark Reidman
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Share this question
or