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

Adding Multiple Header Rows at Runtime in RadGrid

5 Answers 235 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shulla Krous
Top achievements
Rank 1
Shulla Krous asked on 15 Dec 2009, 11:34 AM
I need to build a grid with 2 header rows where each column in the 1st header row groups few columns in the 2nd header row.
And the 2nd header row is in 1:1 relation with the grid columns.

For example:

Sunday

Monday

Morning

Afternoon

Evening

Morning

Afternoon

Evening

 

 

 

 

 

 


How do I implement that in RadGrid?

Thanks in advance.

5 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 15 Dec 2009, 11:38 AM
Hi kr kr,

Thank you for your interest in our controls. Currently this cannot be implemented, because the layout of each row must be the same (including the header one), but your example uses dissimilar layouts. 

Sincerely yours,

Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Denise Duggan
Top achievements
Rank 1
answered on 23 Dec 2009, 01:55 PM
This would be an EXTREMELY useful feature.  I can think of several places in my site that could use it.  Any plans on adding something like this?
0
Nick
Telerik team
answered on 23 Dec 2009, 02:00 PM
Hello Denise Duggan,

This question was originally posted about RadControl for WinForms. Please post your question to the forum section of RadControls for ASP.NET.

All the best,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Praveena
Top achievements
Rank 1
answered on 28 Nov 2011, 06:49 AM
Hi,

 PFA is the required format and the second file is what i have achieved till now. Please let me know is there a way to include 2 headers like what is given in my required file. Columns from date are dynamic. Columns till date are static.  It is winform. And i work on c#.

Please help me at the earliest.

Thanks,
Praveena
0
Julian Benkov
Telerik team
answered on 30 Nov 2011, 04:06 PM
Hi Praveena,

For this scenario you can use the Column Groups View feature of RadGridView control. Please review the code in our Demo Application in section GridView >> Columns >> Grid Views. More information about this functionality you read also in our online documentation.

I hope this information is useful.

Greetings,
Julian Benkov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

Tags
GridView
Asked by
Shulla Krous
Top achievements
Rank 1
Answers by
Nick
Telerik team
Denise Duggan
Top achievements
Rank 1
Praveena
Top achievements
Rank 1
Julian Benkov
Telerik team
Share this question
or