Closed pietersv closed 8 years ago
A quick hack to hide grid lines is to find the line (e.g. xlsx.js:7823)
o[o.length] = (writextag('dimension', null, {'ref': ref}));
and immediately after that add this line
o[o.length] = '<sheetViews><sheetView showGridLines="0" tabSelected="1" workbookViewId="0"/></sheetViews>';
A better solution would be to read wb.Props and set the values conditionally. Better still would be to use the provided methods like writeextag rather than inserting a raw xml string. Saving that for daylight.
wb.Props
writeextag
Added two new workbook options showGridLines: <true> and tabSelected: <'1'>. Note the capital L in showGridLines.
showGridLines: <true>
tabSelected: <'1'>
L
showGridLines
Checked into github, npm and bower.
A quick hack to hide grid lines is to find the line (e.g. xlsx.js:7823)
and immediately after that add this line
A better solution would be to read
wb.Props
and set the values conditionally. Better still would be to use the provided methods likewriteextag
rather than inserting a raw xml string. Saving that for daylight.