Jump to content

Recommended Posts

Posted

In the detail section of my report, I have a spacing first, which is only displayed for certain types of records in the list. Now, I'd like to not display this spacing if it would be at the top of the page. I can skip it with the following expression at least for the first page. But how can I check if the band is at the top of a subsequent page?

...
	</pageHeader>
	<detail>
		<band height="10">
			<property name="com.jaspersoft.studio.unit.height" value="px"/>
			<printWhenExpression><![CDATA[new Boolean ( $F{level} < 10 && $V{PAGE_NUMBER} > 1 )]]></printWhenExpression>
		</band>
		<band ...>
...

 

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...
Posted (edited)

Thanks for the feedback!

I don't have this property in the band. I would have to add a control to the band and make this empty based on the level. I guess that would work, but I still need a way to only remove the band when it's at the top of a page.

Edited by a.nef

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