Jump to content
JasperReports Library 7.0 is now available ×

How to dynamically change the band height?


2005 IR Help

Recommended Posts

By: c20050517 - reportproblem

How to dynamically change the band height?

2005-05-18 19:50

Do anyone know how to change the band height dynamically? Thx.

 

 

 

 

By: antobuccia - antobuccia

RE: How to dynamically change the band height?

2005-05-30 05:55

Yes, I have the same problem. Can anyone help us?

 

 

 

 

By: Giulio Toffoli - gt78

RE: How to dynamically change the band height?

2005-05-30 12:31

this is not possible. Anyway you can use a trick, like put in your band a subreport. This subreport can have width=1px and only the detail band present, height 1px. Setting as datasource a

new JREmptyDatasource( <records>)

is possible create dinamically an object with height = <records>.

This is not much efficent.

 

Giulio

 

 

 

 

By: antobuccia - antobuccia

RE: How to dynamically change the band height?

2005-06-01 02:28

Sorry but for me is not clear were a I set as datasource new JREmptyDatasource.

 

 

 

 

By: Giulio Toffoli - gt78

RE: How to dynamically change the band height?

2005-06-01 15:51

In the datasource expression (subreport element properties, tab subreport 1) you have to write:

 

new JREmptyDatasource( <number of lines/records> )

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...