goompas Posted April 28, 2009 Share Posted April 28, 2009 HelloMy question is, that jasperreports can iterate vertically and horizontaly in one report?I have javabean datasource that look like this List<MyClass> Where MyClass look like thispublic class MyClass{ MyObj[] MyObj = null; public MyClass(MyObj [] MyObjArray) { this.MyObj = MyObjArray; } public MyObj[] getMyObj() { return MyObj; } public void setMyObj(MyObj[] MyObjtArray) { this.MyObj = MyObjArray; }} As look i have list of arrays and now i wanna iterate list horizontally and vertically iterate array, something like thislista.get(i)[0]lista.get(i)[1]lista.get(i)[2] Link to comment Share on other sites More sharing options...
lucianc Posted May 5, 2009 Share Posted May 5, 2009 The list component element introduced in JR 3.5.1 can do this.At the moment it can only iterate vertically, but we plan do add horizontal iteration in the future.Regards,Lucian 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