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

[Solved] Grouping Inside Grouping

1 Answer 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 21 Aug 2009, 12:58 PM
Hello Sir i want the grouping inside the group for example

> ProdutName : XYz
Pro                    cost             Loc
abc                  2000            ind
paq                 2000            srilanka

>ProductNam: PQR
Pro              Cost             Loc
abc              2000            USA
paq             2000            Holand
Combined
  |--              4000             USA  
  |--              4000            USA
 | --              4000            USA

Just like this type of grouping means in combined group., grup the product they have same cost and location is same and prodcut is same then show its in combined. The Product Name is Primary Fileld. Inside that grup bye cost and loc.

Is this possible grouping inside grouping is it possible ?  And also display the sum in below footer of group.


Reply
Thanks

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 21 Aug 2009, 02:56 PM
Hello rahul,

Indeed, you can have nested groups with RadGrid. In order to achieve that you need to group the grid by the desired fields the same time. You can do that by dragging the column headers in the top GroupPanel of RadGrid or by adding a few GroupByExpressions.

Please review the below online resources for more information on RadGrid grouping:
http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/expressions/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/grdgroupbydeclarativedefinition.html
http://www.telerik.com/help/aspnet-ajax/grdgroupbyprogrammaticdefinition.html

I hope this help.
Kind regards,
Iana
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
Rahul
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or