2
我想隱藏excel報告中的一些列以供將來參考。 請建議我隱藏列的任何想法。如何隱藏由JasperReports生成的Excel報告中的列?
我想隱藏excel報告中的一些列以供將來參考。 請建議我隱藏列的任何想法。如何隱藏由JasperReports生成的Excel報告中的列?
Alex K的評論是正確的。以下是如何應用它:
reportElement
如下:<reportElement x="0" y="0" width="100" height="15">
<property name="net.sf.jasperreports.export.xls.cell.hidden" value="true"/>
</reportElement>
的reportElement
屬性值將在您創建報表有所不同。
嘗試使用[net.sf.jasperreports.export.xls.cell.hidden](http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.xls.cell。隱) –