RadGrid Custom Header with two levels

6 posts, 0 answers
  1. Pascal
    Pascal avatar
    10 posts
    Member since:
    Oct 2007

    Posted 14 Mar 2008 Link to this post

    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:

        <td colspan="2">group1</td>
        <td colspan="2">group2</td>
    ... 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.


  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 17 Mar 2008 Link to this post

    Hi Pascal,

    I suggest you take advantage of the grouping feature exposed by RadGrid Prometheus:


    How to define group expressions statically or programmatically in code you can learn from these documentation articles:


    Best regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
  4. Kenneth
    Kenneth avatar
    29 posts
    Member since:
    Sep 2004

    Posted 05 May 2008 Link to this post

    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?

  5. Kiara
    Kiara avatar
    309 posts
    Member since:
    Jul 2006

    Posted 05 May 2008 Link to this post

    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:


  6. Kenneth
    Kenneth avatar
    29 posts
    Member since:
    Sep 2004

    Posted 06 May 2008 Link to this post

    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... 

  7. Nikita Gourme
    Nikita Gourme avatar
    318 posts
    Member since:
    May 2006

    Posted 06 May 2008 Link to this post

    Then consider Pascal's suggestion above in this thread or may be the new global item template feature will be suitable for you:


    Just my  two cents here.
Back to Top
DevCraft R3 2016 release webinar banner