Jump to content
Changes to the Jaspersoft community edition download ×

Empty columns and rows doesn't hide in jasper excel report on jasper server


shubham.maheshwari

Recommended Posts

I have created an xls report on jasper studio using web service. The report is generating fine on jasper studio and only required columns and rows are seen and empty are hidden.But when we launch it on jasper server the empty rows and columns are not hidden so report format doesn't look good.

We have tried some chnages in report by searching on jasper forums and other sources:

1. Added below parameter in report but not worked 

<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"/>[/code]

2. Tried below lines of code in my report:

<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/><property name="net.sf.jasperreports.export.xls.column.width"                       value="100"/><property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows"    value="true"/><property name="detectCellType"      value="true"/><property name="onePagePerSheet"     value="false"/><property name="whitePageBackground" value="false"/><property name="ignoreGraphics"      value="false"/><property name="collapseRowSpan"     value="true"/><property name="ignoreCellBorder"    value="true"/><property name="fontSizeFixEnabled"  value="true"/><property name="maximumRowsPerSheet" value="0"/>[/code]
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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