• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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

 
Greenhorn
Posts: 10
  • 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]
 
His brain is the size of a cherry pit! About the size of this ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!