Adding Multiple Header Rows at Runtime in RadGrid

6 posts, 0 answers
  1. Shulla Krous
    Shulla Krous avatar
    13 posts
    Member since:
    Oct 2009

    Posted 15 Dec 2009 Link to this post

    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.
  2. Nick
    Admin
    Nick avatar
    767 posts

    Posted 15 Dec 2009 Link to this post

    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.
  3. Denise Duggan
    Denise Duggan avatar
    16 posts
    Member since:
    Oct 2009

    Posted 23 Dec 2009 Link to this post

    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?
  4. Nick
    Admin
    Nick avatar
    767 posts

    Posted 23 Dec 2009 Link to this post

    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.
  5. Praveena
    Praveena avatar
    3 posts
    Member since:
    Feb 2011

    Posted 28 Nov 2011 Link to this post

    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
  6. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 30 Nov 2011 Link to this post

    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.

Back to Top