Spliting report to pages based on data

Stimulsoft Reports.JS discussion
Post Reply
rpotyka
Posts: 13
Joined: Mon Jan 07, 2019 8:26 am

Spliting report to pages based on data

Post by rpotyka »

Hi,

I want to create a report with data presented in for of list grouped by year, month and code of the transactions.
The report should be split to pages based on that. For each code, month or year the new page should be started. Is there a more or less convenient way to do so in code or the report designer?

Kind regards,
Radek
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Spliting report to pages based on data

Post by Lech Kulikowski »

Hello,

You can set the NewPageBefore=true property for the master band or group band for the necessary level.

Also, you can use the following code in the BeforePrint event:
if (your condition) this.engine.newPage();

Thank you.
Post Reply