1021866588 Posted May 6, 2016 Share Posted May 6, 2016 configuration.setShowGridLines(Boolean.TRUE);configuration.setSheetTabColor(Color.red);configuration.setOnePagePerSheet(Boolean.FALSE);configuration.setRemoveEmptySpaceBetweenColumns(Boolean.TRUE);[/code] Link to comment Share on other sites More sharing options...
hozawa Posted May 7, 2016 Share Posted May 7, 2016 Do you have grid lines in your jrxml text elements? The property just shows grid lines when there is one in the report layout. Link to comment Share on other sites More sharing options...
szaharia Posted May 10, 2016 Share Posted May 10, 2016 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);[/code]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"/>[/code]I hope this helps,Sanda 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