Databand KeepDetailsTogether

Stimulsoft Reports.JS discussion
Post Reply
xinaris
Posts: 5
Joined: Mon Dec 26, 2016 1:27 pm

Databand KeepDetailsTogether

Post by xinaris »

I am generating with javascript the report with structure.

HeaderBand 1
DataBand 1
..
..
HeaderBand n
DataBand n

I need the HeaderBand for each band to always be above the DataBand even if the Databand is starting at a new page (DataBand canBreak is set to false)
So I added KeepDetailsTogether for the Databand. I can see now the HeaderBand in the new page (above the DataBand) but I also see the HeaderBand in the previous page.
What I need to set, to show it only once in the second page above the DataBand?

Too many HeaderBand and DataBand, I hope you understood!

Thanks,
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Databand KeepDetailsTogether

Post by Alex K. »

Hello,

Please send us your report template for analysis.

Thank you.
xinaris
Posts: 5
Joined: Mon Dec 26, 2016 1:27 pm

Re: Databand KeepDetailsTogether

Post by xinaris »

Hello,

As I mentioned I used JavaScript to create the sample structure I created in the report file attached.
What I need is, if DataBand2 is printed in a new page, the HeaderBand2 will also printed in the new page (and not also in the first)

Thank you,
Attachments
keepdetailstogether.mrt
(14.71 KiB) Downloaded 153 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Databand KeepDetailsTogether

Post by HighAley »

Hello.

Please, set the New Page Before of the HeaderBand2 to True and Skip First to False.

Thank you.
Post Reply