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

pivot table with grouping by expression and footer

2 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
appdev
Top achievements
Rank 1
appdev asked on 14 Nov 2008, 11:41 AM
could i do something like this

> section 1 total=$1000
                       header1       header2
rowheader1         
rowheader2   

>section 2 total $200
 rowheader1
rowheader2

and so on.

so my grid will have a groupbyfield and have look like a pivot table because of the row header. if you have any suggestion please let me know thank you very much

2 Answers, 1 is accepted

Sort by
0
appdev
Top achievements
Rank 1
answered on 14 Nov 2008, 01:38 PM
any ideas guys? thanks
0
Sebastian
Telerik team
answered on 17 Nov 2008, 02:40 PM
Hi Duy,

You may consider combining the global item template feature of RadGrid with grouping capability to add headers to some of the groups:

http://demos.telerik.com/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/CardView/DefaultCS.aspx

Note that for this purpose you will need to add an asp table to align the headers/items content inside each of the groups and hide the headers of the template dynamically inside the ItemCreated or ItemDataBound event based on your custom conditions.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
appdev
Top achievements
Rank 1
Answers by
appdev
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or