santdelv Posted January 16, 2014 Share Posted January 16, 2014 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.And if I can print it without the brackets “[]” that would be a big plus. Thanks for reading Link to comment Share on other sites More sharing options...
ftama7 Posted January 17, 2014 Share Posted January 17, 2014 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 More sharing options...
santdelv Posted January 27, 2014 Author Share Posted January 27, 2014 Thanks for the answer, I will search a little bit more. I would think that there has to exists a better way. Link to comment Share on other sites More sharing options...
santdelv Posted January 27, 2014 Author Share Posted January 27, 2014 Well I solved via a subreport, with columns instead of the list directly because that seems to be the issue, I don't know if it is the most optimal solution but it worked for me. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now