Hello,
PB 2017 R3
Need to set Autosize height property for few columns in the header#1 band.
The output is a bill format, with company name and address at top, few columns in both ends [ left & right side] of the paper. eg.
**********************************************************************************************
Company Name
Address-Line 1
Address-Line 2
Address-Line3
City-Pincode
Tel: XXXXXXXXXXXXXXXXXXXXXXXX GST: 33XXXXXXXXXXX
Mob: 9XXXXXXXXXXXXX Counter 3
Bill No. : WB-33 Vou No. : WB-33
Bill Date : 18/02/2019 Type : Cash
Name :
Mobile :
**********************************************************************************************
All the above details appear in header#1 band. Here Address-Line1, Address-Line2, Address-Line3 may or may not contain details. Hence those column heights are made zero, with Autosizeheight property set to true and also the band autosizeeheight property to true.
But I see the results are overlapping. Address-Line 1and Address-Line 2 overlaps.
Similarly in Footer#1 band also, there is one such column to be set with autosize height property [ie it to appear only when there is a non-zero value ].
How to avoid this overlapping ? Don't want to have empty spaces when no values for such columns.
Slide up do work perfect. Side effect is that it leaves empty spaces at the end of that band. A big gap between data of two bands is not desirable. That's what I try to fill up.
1) Mark the band AutoSizeHeight = true
2) Reduce initial height of band to minimum height (read: So that all static, non-null texts will display but no more)
this should fix your white space issue.