Jump to content
We've recently updated our Privacy Statement, available here ×

How can i use for loop inside my jrxml


faisalk08

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

I think there are no way to create dinamically objects in a jrxml way. If you create a program that write the .jrxml you can do this, but from design almost sure that not.

 

I don't know if with a scriptlet and some magic you can do what you want...

 

good luck

 

Grettings from Argentina!

Link to comment
Share on other sites

I have tried with a empty list (btw in JR 3, where I stuck, this control does not exists) and applied to it a style with borders but when I put this for the Datasource:

new net.sf.jasperreports.engine.JREmptyDataSource(5)

I get a single rectangle that expands and not five rectangles... what I doing wrong?, I using iReport 3.7.1. Thanks

 

Grettings from Argentina!

Link to comment
Share on other sites

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...