Jump to content

Number of rows per page


henryedsl

Recommended Posts

Hello!

I need to set the number of rows per page to a certain number, say 3.

For example, how can i do to set the number of rows displayed per page to 3?

I found this thread:

jasperforge.org/plugins/espforum/view.php

There, one of the users said to add a manual page break and use the Record_Count to enable the break every X records.

I'm using iReport 4.0.0 but i haven't been able to insert a page break, i can't find that option in iReport, in fact i'm not sure whether that option is available yet.

 

Best regards,

Henry

 

Link to comment
Share on other sites

  • 6 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi Henry,

 

I'm using  3.7.5, but I asume that 4.0.0 does differ that much.

Thpage break option is found in another section as previous versions.

If you go to Window > Pallet (or Ctrl+Shift+8) You'll find the Page Break option on the top left conrner of the pallet.in the Print When expresion I've entered "new Boolean($V{REPORT_COUNT}.intValue() == 15)".

This option works without any issues (so far).

Good Luck.

Danny


Link to comment
Share on other sites

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