Breaking Headers based on Conditions

Stimulsoft Reports.JS discussion
Post Reply
rjorge99
Posts: 37
Joined: Tue Feb 28, 2023 6:24 pm

Breaking Headers based on Conditions

Post by rjorge99 »

Hi,

Is there a way to break a header (NewPageBefore), based on a condition?

For example, I would like to have NewPageBefore to True, only if a value in my Data is equal to 1..

NewPageBefore only allows True or False, I cant write a condition.


Thanks.
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: Breaking Headers based on Conditions

Post by Lech Kulikowski »

Hello,

You can try to use the Blockly code to set this option in the events code.

Thank you.
Post Reply