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

Aggregations only on specific group by

1 Answer 77 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.
Srikanth
Top achievements
Rank 1
Srikanth asked on 15 Jan 2012, 11:54 PM
I have a data grid which can have three different group by views but I need to apply aggregations only when grouped by one of the columns, I undestand this may not be available OOB and has to be done in the code behind, however I am unable to figure out when should we add aggregations to a column in the grid view code behind, what event on the data grid triggers the aggregate calculations. Any help is appreciated. Thanks.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 16 Jan 2012, 07:46 AM
Hello,

You can try handling Grouping event and perform your custom logic inside depending on the column you are grouping by.  

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Srikanth
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or