How to repeat group header on each page with Table/Crosstable?

19 posts, 0 answers
  1. Alexandre Jobin
    Alexandre Jobin avatar
    129 posts
    Member since:
    Jan 2010

    Posted 04 Oct 2011 Link to this post

    hi!

    i have a report that use the Crosstable item. I have defined a group that can have many items below it. If a group must split on two pages, is there a property to tell the crosstable to repeat the group details? and if there's a function to do that, is it possible to add something to the group details? on the following example, the second page will continue to print the Group2 details and i would like to add "group2 (continued)"

                       | col1   | col2   | col3
    group1
       item1      1           2           3
       item2      1           2           3
       item3      1           2           3
       item4      1           2           3

    group2
       item1      1           2           3
       item2      1           2           3

    ===== change page =====

                     | col1    | col2   | col3
    group2 (continued)
       item3      1           2           3
       item4      1           2           3






    alex
  2. Squall
    Squall avatar
    181 posts
    Member since:
    Feb 2011

    Posted 07 Oct 2011 Link to this post

    Hi,
    To repeat the crosstab on every page set Crosstab.ColumnHeadersPrintOnEveryPage to True.
    SN

  3. Alexandre Jobin
    Alexandre Jobin avatar
    129 posts
    Member since:
    Jan 2010

    Posted 07 Oct 2011 Link to this post

    Hi Squall!

    ColumnHeadersPrintOnEveryPage will only show the columns header on each page. I have edited my first post to be more specific.


  4. Pavel
    Pavel avatar
    5 posts
    Member since:
    Jun 2012

    Posted 27 Jun 2012 Link to this post

    Hi All,

    is there any update regarding this issue? I would say this has to be required behavior in lot of the reports which use row groping. Am I wrong?

    Thank you,

    Pavel
  5. Peter
    Admin
    Peter avatar
    1665 posts

    Posted 02 Jul 2012 Link to this post

    Hello,

    The Product Sales online example has a CrossTab item with ColumnHeadersPrintOnEveryPage and RowHeadersPrintOnEveryPage  properties set to true. If you expand all the row headers and column headers and after that switch to Print Preview - row and column headers will be printed on each page. Thus you will see the appropriate header on each page. 

    Kind regards,
    Peter
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

  6. Kelly Harris
    Kelly Harris avatar
    12 posts
    Member since:
    Nov 2009

    Posted 13 Jul 2012 Link to this post

    I looked at the report, is there a way to have the group header on the top of the page to say "(continued)"?
  7. Elian
    Admin
    Elian avatar
    435 posts

    Posted 17 Jul 2012 Link to this post

    Hi Kelly,

    When PrintOnEveryPage is set to true for the Group Header/Footer, the sections on each page are always identical. The section is processed only the first time and afterwards a copy of it is printed on the rest of the pages, so distinguishing between them is not possible. 

    Greetings,
    Elian
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

  8. Steven
    Steven avatar
    81 posts
    Member since:
    Dec 2011

    Posted 18 Jan 2013 Link to this post

    We have data that is already flattened so we are using a regular table,  We also need the Row Headers to span the entire width of the columns.

    =Report Explorer
    [groupHeaderSection]
      - [SubReport - repeats on every page]
    [detailSection]
      - [Table]
            [HeaderRowSpans as Group Title                                              ]
            [TitleColumn] [Data Col1 - Col6 (Flattened in storedprocedure)]


    =Table Group Explorer
    [OuterRowGroup]
         [Static]  --- I want to repeat this on every page
              [InnerRowGroup]
                     [Details]
              [Static InnerGroup Footer]
         [Static OuterGroup Footer]


    Is there any way to get the Static Row to repeat on every page or do I need to move this to another outer group of the detailSection and then just filter the data when binding to the Table within the detailSection and Bind to "ReportItem.Parent.DataObject"


  9. Elian
    Admin
    Elian avatar
    435 posts

    Posted 23 Jan 2013 Link to this post

    Hi Steven,

    Only the Row and Column Headers can be set to be printed on every page. In this case, you will have to rearrange the report layout to fit you needs. 
     

    All the best,
    Elian
    the Telerik team

    HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  10. Paul
    Paul avatar
    29 posts
    Member since:
    May 2011

    Posted 21 Feb 2013 Link to this post

    In a situation where a particular group is larger then one page can that groups title be repeated? See below

    Columns headers
    ______________________
    Group1 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                                 page 1
    Column headers
    ______________________
    Group1 | xinfox
                 | xinfox
    Group2 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                                page 2
  11. Massimiliano Bassili
    Massimiliano Bassili avatar
    323 posts
    Member since:
    May 2006

    Posted 22 Feb 2013 Link to this post

    RowHeadersPrintOnEveryPage=true.
  12. Ibrahim
    Ibrahim avatar
    2 posts
    Member since:
    Nov 2012

    Posted 27 Nov 2013 Link to this post

    Hi 


    I have the same Problem 
    I insert more than one row as Column header 
    And more than one row as Row Header

    and I delete allot of these headers may be I delete the default one
    and I Made the property of the columnPrintOnEveryPage And RowPrintOnEveryPage  = True
    But It is not appear with the pages just Appears in the first page and with the begin of the group but not with the beginning of every page
  13. Peter
    Admin
    Peter avatar
    1665 posts

    Posted 29 Nov 2013 Link to this post

    Hi,

    Generally Table/Crosstab item template and wizard, generates table with a header. However if you have removed the table header, ColumnHeadersPrintOnEveryPage will not have any effect. Check out the attached video that illustrates how to create a table header.

    Regards,
    Peter
    Telerik

    New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

  14. Jolanta
    Jolanta avatar
    34 posts
    Member since:
    Oct 2014

    Posted 20 Oct 2014 in reply to Peter Link to this post

    Hi, I have a basic question, in similar matter:
    I have a simple table with column headers, in a group section (e.g. group by the table first column). I want to display the column headers only the at the beginning (for first group), nextly I want to have a simple or an empty line (just to keep a distance to the next group).
    I am beginner with telerik reports, that’s way this question.
    Greetings,
    Jola
  15. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 21 Oct 2014 in reply to Jolanta Link to this post

    Hi,

    Group sections are printed for each new group of data, and so is their content (the whole table in the group section) - Report Structure. Try other layout with TextBoxes only.

    -KS
  16. Sneha
    Sneha avatar
    1 posts
    Member since:
    Jun 2015

    Posted 26 Jun 2015 Link to this post

    Hi,

    I am using a crosstab,and I need to display the first column to repeat on each page when it is exported in PDF or TIFF format.

    For this I have set RowHeadersPrintOnEveryPage=True.On Exporting the data to Pdf format,I am getting an additional blank page at the end with only PageHeader and Page Footer Section getting display.

    Please suggest a solution to get rid of this blank page.

     

  17. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 30 Jun 2015 Link to this post

    Hi Sneha,

    Please check the approaches from the Problem: Telerik Reporting renders blank pages KB article to determine which is the item causing the horizontal paging, and test applying the recommended settings.

    I hope the provide information is helpful.

    Regards,
    Stef
    Telerik
    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
  18. Nicolo
    Nicolo avatar
    4 posts
    Member since:
    Dec 2012

    Posted 04 Dec 2017 in reply to Paul Link to this post

    Paul said:In a situation where a particular group is larger then one page can that groups title be repeated? See below

    Columns headers
    ______________________
    Group1 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                                 page 1
    Column headers
    ______________________
    Group1 | xinfox
                 | xinfox
    Group2 | xinfox
                 | xinfox
                 | xinfox
                 | xinfox
                                page 2

    Hello @Paul did you find a solution for this issue?

     

    Thanks in advance.

  19. Katia
    Admin
    Katia avatar
    693 posts

    Posted 07 Dec 2017 Link to this post

    Hello Nicolo,

    To repeat the Group Header section on each page, set PrintOnEveryPage property of this section to true.

    Regards,
    Katia
    Progress Telerik
    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
Back to Top