carter_zhou Posted November 5, 2012 Share Posted November 5, 2012 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:EXCEL: Link to comment Share on other sites More sharing options...
lucianc Posted November 7, 2012 Share Posted November 7, 2012 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.rowsUse 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 More sharing options...
carter_zhou Posted November 8, 2012 Author Share Posted November 8, 2012 Thank you very much for your answer,but how can I do? net.sf.jasperreports.export.html.remove.emtpy.space.between.rows does not work when export HTML also. Link to comment Share on other sites More sharing options...
lucianc Posted November 8, 2012 Share Posted November 8, 2012 Please upload your JRXML and the HTML output file. Which JR version are you using? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now