How to simulate a table in jaspersoft studio

since I guess there is no way to rotate a table by 90° I started to simulate one by wrapping static text and text fields together in band. I enclose each static text to its text field which suppose to have the value for that static text and then enclose all rows (combination of static and text fields) in one band. But I can not adjust the stretch type in a way that all these components play together.  Each text field has a different value and should be expandable to its content. For example field text for static text 3. All fields are set to stretch by over flow, position float, stretch type relative to band height.

the structure is like this:

static1 field with value1
static2 field with value 2
static3

field with value33333

 

static4 Field with value4

And this is how it looks like with text fields fading in each other:

iman.gharib's picture
Joined: Nov 18 2015 - 3:46am
Last seen: 2 years 10 months ago

1 Answer:

I set sub frames and text fields like this: Position type float, stretch type: no stretch,   stretch with overflow to true for text fields.

                              stretch with overflow to true for text fields.

main frame wich contains all other frames : float, relative to tallest object

iman.gharib's picture
Joined: Nov 18 2015 - 3:46am
Last seen: 2 years 10 months ago
Feedback
randomness