Reduce space between Panels with Data Bands

Stimulsoft Reports.WEB discussion
Post Reply
mksch
Posts: 14
Joined: Mon Aug 17, 2020 1:10 pm

Reduce space between Panels with Data Bands

Post by mksch »

Hello,
I am building an invoice template which should print a set of numbers in the header.
The numbers are all stored in the same data source but are different types as in the below example:
type number
Voucher 123456
BookingNR 654887
CRS C789654

I am using 3 panels with one databand in each to loop through the data source to check which type of number is there and print the number in the right place as in the below screenshot:
panels.JPG
panels.JPG (27.33 KiB) Viewed 2502 times
IF.JPG
IF.JPG (17.23 KiB) Viewed 2502 times
On the printed invoice, the information displays correctly, howver the space between each line is quite big and I am trying to find a way to reduce the space to the same amount as in the lines above, or even get rid of the 3 panels with the data bands. Is there any way this can be accomplished? I tried doing it in one data band, but then it keeps repeating all the lines multiple times.
report.JPG
report.JPG (13.56 KiB) Viewed 2502 times
Thank you very much for your help.

Best regards,
Markus
Lech Kulikowski
Posts: 7339
Joined: Tue Mar 20, 2018 5:34 am

Re: Reduce space between Panels with Data Bands

Post by Lech Kulikowski »

Hello,

Please send us your report for analysis.

Thank you.
mksch
Posts: 14
Joined: Mon Aug 17, 2020 1:10 pm

Re: Reduce space between Panels with Data Bands

Post by mksch »

Thank you for your quick reply.
Enclosed please find the report file.
Attachments
Report (13).mrt
(636.35 KiB) Downloaded 194 times
Lech Kulikowski
Posts: 7339
Joined: Tue Mar 20, 2018 5:34 am

Re: Reduce space between Panels with Data Bands

Post by Lech Kulikowski »

Hello,

You can set the ShowHeaders=false option.
Or add an additional Panel on which place all components and use DockStyle=Top option.

Thank you.
Attachments
Annotation 2020-08-18 121438.png
Annotation 2020-08-18 121438.png (701.37 KiB) Viewed 2491 times
mksch
Posts: 14
Joined: Mon Aug 17, 2020 1:10 pm

Re: Reduce space between Panels with Data Bands

Post by mksch »

Thank you very much Lech,
the above solution worked.

Best regards,
Markus
Lech Kulikowski
Posts: 7339
Joined: Tue Mar 20, 2018 5:34 am

Re: Reduce space between Panels with Data Bands

Post by Lech Kulikowski »

Hello

We are always glad to help you!

Thank you.
Post Reply