Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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

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.

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

[Thumbnail for show2.GIF]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic