How to display text field grow to untill the next record.

0

Hello All,

I have below report requirment 

USA

Georgia

Atlanta

 

Savannah
California Santa Barbara
India Kerala Kochi
Kollam
Kottyam
Karnataka Bengalore
Magalore
Hubli

 

I created Country and State group but dispalying all the fieldsdata in DETAIL band by writing formula - $V{state_COUNT} == 1 same for country also i am able to print only once when i unselect "PRINT REPEATED VALUES'' but i need to display the dat in CENTER Align adn also apply border for all this fields where the text box is not grwoing even though i kept Position type as FLOAT  & Stretch Type either Relative to Tallest objecty or Relative to Band Height. None of them are working.

 

Any suggestions are highly appreciated! 

 

Thanks

Manasa 

manasadontineni436's picture
Joined: May 27 2014 - 3:33am
Last seen: 3 months 2 weeks ago

4 Answers:

0
sanbez's picture
832
Joined: Jan 11 2011 - 2:06am
Last seen: 4 days 20 hours ago
0

Thnaks for the link!! 
Currently i am using sub reports to achieve this. The issue i am facing when i make the sub report data print only once, it displyonce but at the top and text box won't expand to the bottom or till next record. (It has boarders on al sides)
 

Any ideas on this ?

Thanks,

Manasa

manasadontineni436's picture
Joined: May 27 2014 - 3:33am
Last seen: 3 months 2 weeks ago
0

See attributes of textfield $F{name} in country.jrxml
reportElement stretchType="RelativeToBandHeight" and
textElement textAlignment="Center" verticalAlignment="Middle"
 

sanbez's picture
832
Joined: Jan 11 2011 - 2:06am
Last seen: 4 days 20 hours ago
0

I already kept all these properties to the fields. but there are couple of fields which are depedent on the State field.Though the state field itself isn't working as expected :(

 

Thanks

Manasa

manasadontineni436's picture
Joined: May 27 2014 - 3:33am
Last seen: 3 months 2 weeks ago
Feedback