Labels with staggered rows

Stimulsoft Reports.NET discussion
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Labels with staggered rows

Post by Jennypi »

Hi,

I would like to design labels but my labels have a quite special organization.
The label page has 2 columns but you can see on the example below that the rows are staggered. Text in column 1 is not exactly in front of text in column 2.

Image

How could I design this page properly?

Thank you,
Jennifer.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Labels with staggered rows

Post by Edward »

Hi Jennifer.

Please use the idea as in the attached report.

Thank you.
Attachments
104.LatticeReport.zip
(1.74 KiB) Downloaded 810 times
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Labels with staggered rows

Post by Jennypi »

Thanks for your reply.
It is indeed what I need to do, but:
- the source of my 2 columns is the same (so I do not have 2 datasources like in your example)
- did you only set dock property to RIGHT to get it printed on the right side of the page? I can not understand exactly what you have done to get this results.

Thank you :)
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Labels with staggered rows

Post by Edward »

Hi Jennifer.

You have to open Demo.exe sample application from the standard installation of Stimulsoft Reports.Net, to press Design and open attached report there.

Please double click the Page in the report and you will see the page setup dialog. In the dialog Columns property I have set in 2. the same you can do for the Page1 object in the 'Properties' window.

Please see Conditions property for Child bands.

Thank you.
Attachments
105.LatticeReport2.zip
(2.89 KiB) Downloaded 349 times
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Labels with staggered rows

Post by Jennypi »

Thank you for your new template.
I tried to reproduce it for my report, it is working well.
The only thing I can not understand from your example is where you specify that the text in the column 2 is higher than the text in the column 1.
Besides the condition (Column==1 or 2) I can not find any difference between the 2 child bands (in your example I mean). That's why I am wondering what I have to change to have the lines staggered!

Thanks again!
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Labels with staggered rows

Post by Edward »

Hi Jennifer.

Please take a look at the header bands in the report template. The header is being printed only in the first column. That is why the dislocation is taking place there.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Labels with staggered rows

Post by Jennypi »

Thank you for your help, it was really helpful!
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Labels with staggered rows

Post by Edward »

You are welcome :)

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Labels with staggered rows

Post by Jennypi »

Hi,

I am bumping this old topic because I have issues with this report.
The "columnHeader" system worked very well for a while, but now that my report is more complicated, I have problems.

My report is designed like this:
- HeaderBand
-- ColumnHeaderBand (displayed only if Column==2, to create the vertical "shift")
---DataBand1
----ChildBand1
----ChildBand2
---FooterBand1
---DataBand2
----ChildBand3
----ChildBand4
---FooterBand2
and so on.
Image
Different filters are applied on the different databands. They are displayed one after the other to sort displayed information. The FooterBand is displayed in between to have a visible separation.

The problem is that the ColumnHeaderBand is displayed only on the first page. As soon as the report jumps to data from Databand2 (or more), ColumnHeaderBand is not displayed on the top of the page.
Image

How can I solve this problem?

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

Labels with staggered rows

Post by Alex K. »

Hello,

Please set the "PrintOnAllPages" property of the ColumnHeaderBand component to true.

Thank you.
Post Reply