Set Page Break with an expression

Posted by: rdillon on 3 May 2023, 3:24 am EST

    • Post Options:
    • Link

    Posted 3 May 2023, 3:24 am EST

    Is there a way to set the Page Break property for a grouping in a table using an Expression? I have a grouping and sometimes I want to add the Page Break property but there are certain cases where I do not want to. I’m just seeing the dropdown options in the designer. Thank you.

  • Posted 8 May 2023, 5:24 pm EST - Updated 8 May 2023, 10:17 pm EST

    Hi Renee,

    Unfortunately, AFAIK there’s no way to assign an expression to set the PageBreak property for a grouping in a table.

    As a workaround, you can have a ‘Container’ control (or multiple for different page break values) in a cell of your Table’s Group Footer/Header, and have the ‘PageBreak’ property of your container set to your desired value.

    Now in the ‘Hidden’ property of your container, you can define an expression based on when you want the specific PageBreak to occur.

    Now on every instance this empty container is visible your PageBreak will also get added.

    Please refer to the attached sample for the same.



Need extra support?

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

Learn More

Forum Channels