nehaindia Posted November 10, 2009 Share Posted November 10, 2009 Hi ,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 :aabbccdd....i want the values to be printed like:aa bb cc dd.....I am using ireport 3.0.0Please guide me . ---Thanks in advanceBest RegardsNeha Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted November 10, 2009 Share Posted November 10, 2009 There is a report property called Print Order. This has effects when you have several columns.Using iReport 3.6.1 the new List component is now allowed to print records horizontally which is a great improvement in the capabilities of JasperReports. Giulio Link to comment Share on other sites More sharing options...
nehaindia Posted November 10, 2009 Author Share Posted November 10, 2009 Hi,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.Thanks Best Regards Neha Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted November 10, 2009 Share Posted November 10, 2009 a) List component (as said)b) Crosstab (even if this is not an optimal solution). Giulio Link to comment Share on other sites More sharing options...
venu08 Posted April 10, 2011 Share Posted April 10, 2011 HiI have a same question 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 :aaabbbcccddd.....i want the values to be printed like:aaa bbb ccc ddd..... I am using ireport 4.0.0I am searching so Manny sites but i have no correct solution. Please guide me . Thanks<br>venu Link to comment Share on other sites More sharing options...
ikruk Posted February 23, 2012 Share Posted February 23, 2012 Hi,I am using such environment: Product Version: Jaspersoft iReport Designer 4.5.0Java: 1.6.0_25; Java HotSpot Client VM 20.0-b11System: 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: aaabbbcccddd.....and I want the values to be printed like:aaa bbb ccc ddd..... My report have only one column, so "Print Order" propety does not resolve my problem.Now I see some workarounds:1. Changing report dynamically and adding each element of the list as as a new column on java side.2. Changing report dynamically and adding each element of the list as as a new column on jasper.3. Write some new List component and use it for horizontal prinitng. Maybe iReport 4.5 already have such component (with horizontal printing)? Does anybody know anythink about this? Thanks,Ihor Link to comment Share on other sites More sharing options...
cbarlow3 Posted February 23, 2012 Share Posted February 23, 2012 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.Carl Link to comment Share on other sites More sharing options...
kcsekhar25 Posted May 9, 2012 Share Posted May 9, 2012 Code:hi all i want multiplefields to be printed in a horizental way. how to do that Link to comment Share on other sites More sharing options...
anand.p Posted November 16, 2012 Share Posted November 16, 2012 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. Link to comment Share on other sites More sharing options...
anand.p Posted November 16, 2012 Share Posted November 16, 2012 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. Link to comment Share on other sites More sharing options...
deepakgm Posted May 10, 2014 Share Posted May 10, 2014 Can I see the files ? Link to comment Share on other sites More sharing options...
ray_lukas Posted August 21, 2014 Share Posted August 21, 2014 where did you attach these files.. ? Link to comment Share on other sites More sharing options...
groxli Posted February 22, 2015 Share Posted February 22, 2015 Hello,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. 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