Jump to content

Can jasper iterate horizontally and vertically?


goompas

Recommended Posts

Hello

My 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 this

public 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 this

lista.get(i)[0]

lista.get(i)[1]

lista.get(i)[2]

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...