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

RadGrid with Self Referencing and Calculation?

3 Answers 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
clw
Top achievements
Rank 1
clw asked on 03 Mar 2009, 04:08 PM
I have a RadGrid with self referencing hierarchy.  I would like to sum all of the values below a collapsible row.  I have done this with a grid before using the GroupByExpressions (with aggregate="sum").  However, with the Self-referencing structure, I cannot also add the GroupByExpressions.  Is there a way to sum the values in this type of grid?

3 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 06 Mar 2009, 12:10 PM
Hello clw,

Thank you for contacting us and for your questions.

RadGrid does not support group by expressions for the child tables in a self-referencing hierarchy when the latter are added dynamically. You have to declare the group by expressions in mark-up and they will get applied to the child tables.

If you need further assistance, feel free to let us know.

Best regards,
Tsvetoslav
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.
0
clw
Top achievements
Rank 1
answered on 06 Mar 2009, 02:03 PM
Do you have any examples of this?
0
Tsvetoslav
Telerik team
answered on 09 Mar 2009, 03:14 PM
Hello clw,

I am sending you a sample with a self-referencing hierarchyof the Northwind's products table grouped by CategoryID.

Best Regards,
Tsvetoslav
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
Grid
Asked by
clw
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
clw
Top achievements
Rank 1
Share this question
or