Jump to content
Changes to the Jaspersoft community edition download ×

Ordering bug(?) when using JRDataSource


2004 IR Help

Recommended Posts

By: David Lim - aberrant80

Ordering bug(?) when using JRDataSource

2004-02-17 19:39

I'm not sure if this was a bug or not but...

 

I had modified the CustomDataSource sample of JasperReports to include a Country field. Attempts to group the report by Country did not turn out as expected. The grouping appeared, but only after the whole report was sorted by City. Meaning you'll have a group of USA cities, then a group of France, then USA again, then France ...etc., because of the city names.

 

I've tried reordering the data source data but the report is still the same. About the only thing I didn't try was reordering the text field positions. Just as I was about to give up, I wrote up a small application, then copied and tested the xml file outside of iReport and the report came out perfectly. So... bug?

 

 

 

 

 

By: Giulio Toffoli - gt78

RE: Ordering bug(?) when using JRDataSource

2004-02-18 02:44

JasperReport don't perform any kind of ordering.

 

If you group by a column, your rows should already ordered by this column.

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...