why it is have no lines

0
configuration.setShowGridLines(Boolean.<span style="color:#660e7a;font-weight:bold;font-style:italic;">TRUE</span>);
configuration.setSheetTabColor(Color.<span style="color:#660e7a;font-weight:bold;font-style:italic;">red</span>);
configuration.setOnePagePerSheet(Boolean.<span style="color:#660e7a;font-weight:bold;font-style:italic;">FALSE</span>);
configuration.setRemoveEmptySpaceBetweenColumns(Boolean.<span style="color:#660e7a;font-weight:bold;font-style:italic;">TRUE</span>);

1021866588's picture
Joined: Mar 17 2016 - 6:13am
Last seen: 3 years 11 months ago

2 Answers:

0

Do you have grid lines in your jrxml text elements? The property just shows grid lines when there is one in the report layout.

hozawa's picture
59424
Joined: Apr 24 2010 - 4:31pm
Last seen: 10 months 1 day ago
0

By default, generated sheets come with whitePageBackground property set to true, which will make sheet's content to appear as drawn on a white page. To  avoid this behavior you need to use the following setting:

configuration.setWhitePageBackground(Boolean.FALSE);

Another way would be to set the following property in your JRXML file, if available:

<property name="net.sf.jasperreports.export.xls.white.page.background" value="false"/>

I hope this helps,

Sanda

shertage's picture
1948
Joined: Sep 26 2006 - 8:06pm
Last seen: 1 week 12 hours ago
Feedback