Jump to content

same detail shown multiple times in a page and in multiple pages(iReports as well as JasperSoft Studio


Go to solution Solved by Tom C,

Recommended Posts

Posted

I want a table and a chart in my report in a single page and that's it. But why the heck does it displays the table and chart two times in a single page and there are like 222 pages showing the same stuff.

  • Solution
Posted

Where did you put the table and chart element in the report? They should be placed in SUMMARY section, not detail section.  JR report detail band is called for each row fetched into report. If you have 100 rows, it will display information in the detail band 100 times each with details of that row. Tables and charts gather and tally all your data to display and should be placed in the summary band thus have them displayed only once.

  • Sad 1

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