Hide gridlines using CFSpreadSheet
Is there a way to programmatically turn off grid lines like you can do from within an excel file by selecting “View” and uncheck gridlines?
Is there a way to programmatically turn off grid lines like you can do from within an excel file by selecting “View” and uncheck gridlines?
Your correct. I left out the
fgcolor="white"
However, instead of having to do this on each cell, you can do it on the entire spreadsheet all at once by doing:
<cfset xl = spreadsheetNew("New Spreadsheet",true)>
<cfset mysheet = xl.getWorkBook().getSheetAt(javacast("int",0))>
<cfset mysheet.setDisplayGridlines(false)>
Thanks for the help if I need to only do it on one cell in particular.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.