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

0

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"/>

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"/>
shubham.maheshwari's picture
Joined: Jun 3 2020 - 6:33am
Last seen: 1 month 1 week ago

0 Answers:

No answers yet
Feedback