Jump to content

Problem with String list in columns


santdelv

Recommended Posts

I have a report fed by a java object, this object contains a list of strings, If I drag the list it prints the data, but when on a detail band with 4 columns it does not respect the columns, it just prints on the length of the field. How do I get around this.  I need the data on the list to be printed row by row and spread out in the 4 columns.

ColumnProblem(1).png.477ec5ab07b54dcb1a97a94d044cb678.png

And if I can print it without the brackets “[]” that would be a big plus.

 

Thanks for reading

 

 

ColumnProblem(1).png.d95df87b483ee92e2312c2c46ce148bd.png

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

The way columns work in reports is by iterating horizontally and then vertically over the results from your main dataset (report query/datasource).

So you'd have to find a way to iterate over the String values in the object, and then print those results in the report detail band.

Alternatively, if you can edit your bean, then you could define a numerosGuiasComoTabla property for your object, which you would then fill with the strings and spaces to make it look like a table. That'd be tricky, and you'd have to use a monospaced font like Courier New.

Link to comment
Share on other sites

  • 2 weeks later...

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