Hi,
I'm using the RadGrid from prometheus Q3 2007. What I want to do is to add a row in the header of the grid to group the colomuns. Exemple:
<table>
<tr>
<td colspan="2">group1</td>
<td colspan="2">group2</td>
</tr>
... Followed by the standart header, assuming that my grid has 4 columns...
I'm creating my grid programmatically and adding it to a placeholder like the exemple showed here in the section "Creating ItemTemplate/EditItemTemplate of GridTemplateColumn programmatically".
I' using visual studio 2008, framework 3.5.
Thanks,
Pascal.
I'm using the RadGrid from prometheus Q3 2007. What I want to do is to add a row in the header of the grid to group the colomuns. Exemple:
<table>
<tr>
<td colspan="2">group1</td>
<td colspan="2">group2</td>
</tr>
... Followed by the standart header, assuming that my grid has 4 columns...
I'm creating my grid programmatically and adding it to a placeholder like the exemple showed here in the section "Creating ItemTemplate/EditItemTemplate of GridTemplateColumn programmatically".
I' using visual studio 2008, framework 3.5.
Thanks,
Pascal.
5 Answers, 1 is accepted
0
Hi Pascal,
I suggest you take advantage of the grouping feature exposed by RadGrid Prometheus:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GroupBy/OutlookStyle/DefaultCS.aspx
How to define group expressions statically or programmatically in code you can learn from these documentation articles:
http://www.telerik.com/help/radcontrols/prometheus/?grdGroupByDeclarativeDefinition.html
http://www.telerik.com/help/radcontrols/prometheus/?grdGroupByProgrammaticDefinition.html
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I suggest you take advantage of the grouping feature exposed by RadGrid Prometheus:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GroupBy/OutlookStyle/DefaultCS.aspx
How to define group expressions statically or programmatically in code you can learn from these documentation articles:
http://www.telerik.com/help/radcontrols/prometheus/?grdGroupByDeclarativeDefinition.html
http://www.telerik.com/help/radcontrols/prometheus/?grdGroupByProgrammaticDefinition.html
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Kenneth
Top achievements
Rank 1
answered on 05 May 2008, 12:05 PM
I'm also interested in the same header layout as Pascal. Please take a look at the following image. I want to have days as "groups" and details for each day under the day name.
Is this possible with the current version of RadGrid?
Regards
Kenneth
Is this possible with the current version of RadGrid?
Regards
Kenneth
0
Kiara
Top achievements
Rank 1
answered on 05 May 2008, 02:56 PM
I think that the Telerik Scheduling component will be more appropriate for this purpose (judging from the screenshot you pointed). Take a look at its online demos to see whether it suits your needs:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Scheduler/Examples/TimelineView/DefaultCS.aspx
Kiara
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Scheduler/Examples/TimelineView/DefaultCS.aspx
Kiara
0
Kenneth
Top achievements
Rank 1
answered on 06 May 2008, 06:57 AM
The image attached was just an example and no, I'm afraid that the time scheduler won't suit my needs. I want to have the grid (with it's functionality like editing, sorting, calculated columns, footers etc) but with two row headers...
0
Nikita Gourme
Top achievements
Rank 1
answered on 06 May 2008, 10:24 AM
Then consider Pascal's suggestion above in this thread or may be the new global item template feature will be suitable for you:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/CardView/DefaultCS.aspx
Just my two cents here.
Nikita
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/CardView/DefaultCS.aspx
Just my two cents here.
Nikita