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

net.sf.jasperreports.export.html.remove.empty.space.between.rows


carter_zhou

Recommended Posts

 

net.sf.jasperreports.export.html.remove.empty.space.between.rows   it does not work!  

 

    <property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
    <property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
    <property name="net.sf.jasperreports.export.html.remove.empty.space.between.rows" value="true"/>

 

It's good when export EXCEL,but <net.sf.jasperreports.export.html.remove.empty.space.between.rows> does not work when export HTML

 

HTML:

converted-file.png.657c52bfa840de7473e9393acc29c9f0.png

EXCEL:

converted-file.png.2ec9ceae87f26acf5f8ce0ee4b778989.png

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

There's a typo in the JasperReports sources, the code actually looks for a property called net.sf.jasperreports.export.html.remove.emtpy.space.between.rows

Use that for now, and log a bug in the trackers to get it fixed.  Also note that the property only applies to the HTML exporter, and not to the XHTML exporter (which uses absolute positioning instead of a line/column grid).

Regards,

Lucian

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