Output other RenderObjects after X rows output by a RenderTable

Posted by: imgodot on 27 September 2017, 9:15 pm EST

    • Post Options:
    • Link

    Posted 27 September 2017, 9:15 pm EST

    My document has a primary “group header” render object.

    After the “group header” I output a RenderTable that may, or may not, overflow onto more pages.

    When the RenderTable flows onto another page I want to output a secondary “group header” that is different than the primary “group header”.

    I can set a page break after a certain number of rows using “rtEmplTable.Rows(row).PageBreakBehavior = PageBreakBehaviorEnum.MustBreak”.

    But, how can I output my secondary “group header” on that new page?

    Thanks.

    – Paul

  • Posted 27 September 2017, 9:15 pm EST

    Hi,

    Please refer the solution provided in the below forum issue for RenderTable:

    http://our.componentone.com/groups/topic/change-pagelayout-pageheader-on-the-fly/

    You can modify the condition accordingly to obtain the desired layout. Kindly let us know if the issue persists.

    Regards,

    Esha

  • Posted 13 June 2020, 8:36 pm EST

    Hi Esha;

    Is there a way to fix a number of Table Rows per page. After fixed number is reached I like to send hard page break

    Thanks

    Sunil

  • Posted 15 June 2020, 2:11 am EST

    Hello,

    Your case has been replied on the given link:

    https://supportone.componentone.com/casedetail/440923

    Please continue the thread there only.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels