dhiraj.kene Posted July 30, 2013 Share Posted July 30, 2013 Hi All,I am using jasper report 4.1.1 .I need to iterate the subreport so that the elements of the subreport (i.e. the whole sub report )should be printed horizontally multiple times ( depending on some condition dynamically) while exporting to excel.I even tried the list component and the solutions available for it like increase the column number and making the print order to horizontally but none of it work.Please advice.RegardsDhiraj Kene Link to comment Share on other sites More sharing options...
C-Box Posted July 31, 2013 Share Posted July 31, 2013 Have you defined your SubReport design to have multiple colums and set the column direction to "LeftToRight" and the print order to "horizontal"?This is how I use some Master-SubReport design for printing labels and it's working fine! hth + regardsC-Box Link to comment Share on other sites More sharing options...
dhiraj.kene Posted August 1, 2013 Author Share Posted August 1, 2013 Hi C-box , Thanks for the reply I had set the print order to horizontal .But these property alone was not solving my problem. I had done the following steps and solved the problem 1)Setting the print order to horizontal as suggested by you in master report. 2)I had set the column number to 10 columns in subreport(It can be set to any number) and set it to print the columns horizontally. 3)Iterated the subreport from master report for some set of records . The subreport was getting printed horizonatally for the set of records. 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