We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c041b commit 0346ab7Copy full SHA for 0346ab7
src/ExcelView.ts
@@ -106,7 +106,8 @@ export class ExcelView extends TextFileView {
106
var sheetAny = sheet as any
107
if (sheetAny.rows) {
108
const last = Object.keys(sheetAny.rows).last() || "100"
109
- sheetAny.rows.len = Math.max(100, parseInt(last) + 20)
+ const max = parseInt(this.plugin.settings.defaultRowsLen)
110
+ sheetAny.rows.len = Math.max(max, parseInt(last) + 20)
111
}
112
})
113
this.saveData(JSON.stringify(sheetData))
0 commit comments