On jasper IReports, I need to order columns from the database to be displayed sorted in the report

1

The problem I already ordered by iReport id, query sql in the class of the client class, but my boss wants me to sort with one of Jasper's jars classes, I'm looking for no success. Has anyone gone through this?

I just want to sort the report that java generates and need to use some method of some jasper jar class.

grateful ...

    
asked by anonymous 21.07.2016 / 14:57

1 answer

1

Try to take a look at this link:

link

It exemplifies the creation of dynamic columns with jar Dynamic Jasper .

I've already used it to solve a problem similar to yours (in my case, depending on the query, I needed to add or remove columns in the report). The implementation is not so simple, so to use you will need to take a look at some examples.

    
22.05.2017 / 21:32