Group Header Repeat

2 posts, 0 answers
  1. Brad
    Brad avatar
    2 posts
    Member since:
    Jan 2014

    Posted 17 Oct Link to this post

    I have a set of nested groups on my report that are for the most part working as needed.  Each group has a corresponding Header section which lists the appropriate info for the group, and the Detail section displays the appropriate info for the groups.  There is an unwanted behavior, however, with how often the outermost group header is displaying.  In general, my requirement is to display the data like:

    Week 1 (Jan 1 - Jan 7) Group Header
    Product Category 1 Group Header

    Product 1 Detail
    Product 2 Detail
    Product Category 2 Group Header
    Product 3 Detail
    Product 4 Detail
    Product Category 3 Group Header
    Product 5 Detail
    Product 6 Detail
    Week 2 (Jan 8 - Jan 14) Group Header
    Product Category 1 Group Header

    Product 1 Detail
    etc

    The output I'm getting, however is:

    Week 1 (Jan 1 - Jan 7) Group Header
    Product Category 1 Group Header

    Product 1 Detail
    Product 2 Detail
    Week 1 (Jan 1 - Jan 7) Group Header (UNWANTED LINE)
    Product Category 2 Group Header

    Product 3 Detail
    Product 4 Detail
    Week 1 (Jan 1 - Jan 7) Group Header (UNWANTED LINE)
    Product Category 3 Group Header
    Product 5 Detail
    Product 6 Detail
    Week 2 (Jan 8 - Jan 14) Group Header
    Product Category 1 Group Header
    Product 1 Detail
    etc

    Is there a way to control where/when the outermost group header appears?  I don't need this outermost group header to repeat every time the inner group header changes, only at the beginning of each of the outermost groups.  Is this something that has to be done programmatically, or is there a report setting that controls this?

    Thanks!

  2. Katia
    Admin
    Katia avatar
    303 posts

    Posted 19 Oct Link to this post

    Hi Brad,

    In general, the GroupHeader section is displayed once for the group and can be repeated on each page by setting PrintOnEveryPage=True in group's settings.

    If you added two groups to the report there should be two GroupHeader sections. Check if the outermost header text is placed in the outermost GroupHeader section but not in the innermost GroupHeader section.


    Regards,
    Katia
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top