This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JASPER REPORTS - Unable to Display Rows from a collection in a same page

 
Krishna Pandit
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a collection that is to be passed to the jasper report for displaying.

When I pass the collection through JRMapCollectionDataSource, the entire report is being generated for each row of the collection.

But I want to display all the rows in the same area .

I'm sorry if my english is poor. But please go through the attached files and i'm sure u'll understand what i mean.


GenerateReports.java




JRXML - FlightReport.jrxml




PDF report i'm able to generate currently is attached : FlightReport.pdf

if you can see the pdf, a detail band is being generated for each element in the array list which i dont need to be.

But i want all of them in a table structure as below

Flight Number Flight Type Description
1 US Airways desc1
2 Southwest airways desc2
3 Some airlines desc3
4 Silly Airlines desc4



Please help me with a possible solution.



Thanks in Advance

show2.GIF
[Thumbnail for show2.GIF]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic