How to set pagesize to break page

2 posts, 1 answers
  1. Sơn
    Sơn avatar
    4 posts
    Member since:
    Jun 2019

    Posted 08 Jul 2019 Link to this post


    As i know telerik reporting support PageBreak for Group. But i want to config set pagesize for each page report.

    EX: I have 100 row record. I set pagesize = 20 => i have 5 page.


    Truong Son

  2. Answer
    Todor avatar
    604 posts

    Posted 11 Jul 2019 Link to this post

    Hello Truong Son,

    The Report Groups are the correct approach for the requirement :
    1. You should introduce an Index field where to keep the current record number, starting from 0 (zero)
    2. Then you may introduce a new Report Group with Grouping set to :

    = Fields.Index / Parameters.RowsOnPage.Value

    where the parameter value is the number of data records that should be displayed on a single page
    3. Set the group Footer Section PageBreak to After to force new vertical page break after each group

    I have attached a sample report demonstrating the above scenario.

    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