Problem with band footers

Stimulsoft Reports.JS discussion
mattiaicp
Posts: 5
Joined: Fri Aug 05, 2022 4:55 pm

Problem with band footers

Post by mattiaicp »

Hello,
we are evaluating your product and we ran into a problem. We will have a group footer and a footer. I'm using the afterPrint event in the group footer with blockly to set the footer height to zero. In this way, every time the group footer is printed, the footer disappears. This works every time the group footer is printed except the first time. In that case the footer height is not changed. What can I do? Thank you
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem with band footers

Post by Lech Kulikowski »

Hello,

Could you send us a sample report that reproduces the issue for analysis.

Thank you.
mattiaicp
Posts: 5
Joined: Fri Aug 05, 2022 4:55 pm

Re: Problem with band footers

Post by mattiaicp »

Hi,

Here is the example
Attachments
TestInvoice.mrt
(92.75 KiB) Downloaded 106 times
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem with band footers

Post by Lech Kulikowski »

Hello,

You can set the NumberOfPass=DoublePass property for the report.

Thank you.
mattiaicp
Posts: 5
Joined: Fri Aug 05, 2022 4:55 pm

Re: Problem with band footers

Post by mattiaicp »

Hi,

it does not work.
In the test I am attaching the first page should have the footer band but the height is changed even if the group footer in the page is not present
Attachments
TestInvoice.mrt
(146.72 KiB) Downloaded 115 times
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem with band footers

Post by Lech Kulikowski »

Hello,

Sorry, maybe we did not exactly understand your task. What result do you need?

Thank you.
mattiaicp
Posts: 5
Joined: Fri Aug 05, 2022 4:55 pm

Re: Problem with band footers

Post by mattiaicp »

Hello,

I try to be as detailed as possible.

We are going to print a series of invoices.
In the event that the invoice is on several pages, we would like a footer band to be printed on the pages where the group footer band is not printed.

So in the file I attached earlier I used the group footer band print event to set the footer band height property to 0.

This solution seems to work except for the first time the group footer band is printed.
In that case the footer band still remains with its original height.

If you generate the invoices from the report I attached, in the first invoice the footer band is present even if the group footer band is printed, while the second invoice (third page) worked correctly, in fact the footer band is not there because the group footer band is present.

I hope I was as clear as possible.

Thank you
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem with band footers

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#7692
mattiaicp
Posts: 5
Joined: Fri Aug 05, 2022 4:55 pm

Re: Problem with band footers

Post by mattiaicp »

Hi,
do you have any news about the problem?
Thank you
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: Problem with band footers

Post by Max Shamanov »

Hello,

We are still working on the issue, we will let you know about the result.

Thank you.
Post Reply