forked from sheetjs/sheetjs
Set tabSelected to 0 per issue #26
This commit is contained in:
parent
7de41c2657
commit
876c4a0552
@ -320,7 +320,7 @@ function write_ws_xml(idx, opts, wb) {
|
||||
|
||||
var sheetView = writextag('sheetView', null, {
|
||||
showGridLines: opts.showGridLines == false ? '0' : '1',
|
||||
tabSelected: opts.tabSelected === undefined ? '1' : opts.tabSelected,
|
||||
tabSelected: opts.tabSelected === undefined ? '0' : opts.tabSelected, // see issue #26, need to set WorkbookViews if this is set
|
||||
workbookViewId: opts.workbookViewId === undefined ? '0' : opts.workbookViewId
|
||||
});
|
||||
o[o.length] = writextag('sheetViews', sheetView);
|
||||
|
2
xlsx.js
2
xlsx.js
@ -7852,7 +7852,7 @@ function write_ws_xml(idx, opts, wb) {
|
||||
|
||||
var sheetView = writextag('sheetView', null, {
|
||||
showGridLines: opts.showGridLines == false ? '0' : '1',
|
||||
tabSelected: opts.tabSelected === undefined ? '1' : opts.tabSelected,
|
||||
tabSelected: opts.tabSelected === undefined ? '0' : opts.tabSelected, // see issue #26, need to set WorkbookViews if this is set
|
||||
workbookViewId: opts.workbookViewId === undefined ? '0' : opts.workbookViewId
|
||||
});
|
||||
o[o.length] = writextag('sheetViews', sheetView);
|
||||
|
Loading…
Reference in New Issue
Block a user