Jump to content
We've recently updated our Privacy Statement, available here ×

How to hide a field in print preview?


Andrei T
Go to solution Solved by Thomas Zimmer,

Recommended Posts

Hello,

First I want to know if a text field when exporting to pdf can have the value Value1 and when exporting to xls the value is Value1 + h.

Second is it posible to hide a text field when print previewing the report with JRViewer in Java? I am asking this because when I export to pdf I must hide some fields that in other formats need to be present (i managed to do this with net.sf.jasperreports.export.xls.exclude.key.textFieldWithHL  property) but when I preview the report the field is not hidden. It hides only when I save the report as PDF.

Thank you

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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