Group Header "New Page Before/After"

Stimulsoft Reports.JAVA discussion
Post Reply
User avatar
rafaelwithoeft
Posts: 70
Joined: Thu Mar 05, 2015 8:26 pm

Group Header "New Page Before/After"

Post by rafaelwithoeft »

How to use Conditions or Expressions on Group Header to set "New Page Before/After", value to true or false, analyzing condition of variable?

Example:

Code: Select all

{datas_dados.ramo_atividade_id} //This is the data column selected
//Condition to set new page before true or false
if (vr_pular_pagina == true) {
    ghb_pular_pagina.newPageBefore = true; // ? Example;
} else {
    ghb_pular_pagina.newPageBefore = false; // ? Example;
}
1 - Where set or how to set this condition?
2 - How to use this condition with data columns to group and get new page?

Best Regards
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Group Header "New Page Before/After"

Post by HighAley »

Hello.

Unfortunately, it's impossible to change NewPageBefore property on condition.

Thank you.
User avatar
rafaelwithoeft
Posts: 70
Joined: Thu Mar 05, 2015 8:26 pm

Re: Group Header "New Page Before/After"

Post by rafaelwithoeft »

Is there another way?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Group Header "New Page Before/After"

Post by HighAley »

Hello.

Sorry, but there is no other way now.
We have plans to change this situation this year.

Thank you.
Post Reply