I am new to ireport, I want to print my field values horizontally (by default they are getting printed vertically). I palced placed a field in detail section , now insted of getting them printed :
i want the values to be printed like:
aa bb cc dd.....
I am using ireport 3.0.0
Please guide me .
Thanks in advance
Thanks for the reply.
But my problem is to show the values in the manner i have shown in my prevoius post.
Print order option (as i have read and understood) would only make the printer to print the column in vertical or horizontal order.
Is there any other way to do the same.
I am using such environment:
Product Version: Jaspersoft iReport Designer 4.5.0
Java: 1.6.0_25; Java HotSpot(TM) Client VM 20.0-b11
System: Windows 7 version 6.1 running on x86; Cp1251; uk_UA (ireport)
And I also have the asame problem... I have a List element which print elements vertically:
I'm confused by your statement that your report only has one column (your reason that just changing the print order won't work), yet you are clearly showing that you want your output to be in what I would normally consider to be multiple columns. So why aren't you just changing the number of columns and printing horizontally? I've attached three versions of the same report that do exactly that: vertical one column, vertical six columns, and horizontal six columns.
Go to report properties(click on the top of the report in no band reason)
1.than go to column
2.change the print order Vertical to Horizontal
3.now give the columns value (i.e.- how many horizontal column u wants. after that many columns , rest values will come to next line )
I hope this will help u.
You'll need to use the Jasper element called "Crosstab".
After you drag a Crosstab element onto your report design, you'll be prompted to select a data source and to indicate which data points are for the columnar groups and row groups. (This will take a bit of experimenting depending on your data set.)
Be sure to give enough horizontal space to the Crosstab. By default, the Crosstab only displays a small width, which means horizontal columns get bumped down the page rather than repeated horizontally as expected.
I hope that helps.