loading grid - split into JslDataGridCode and SqlDataGridCore

This commit is contained in:
Jan Prochazka
2020-10-24 09:32:06 +02:00
parent b439c7bb70
commit b314e363cd
10 changed files with 228 additions and 88 deletions

View File

@@ -19,7 +19,7 @@ class TableWriter {
this.jslid = uuidv1();
this.currentFile = path.join(jsldir(), `${this.jslid}.jsonl`);
this.currentRowCount = 0;
this.currentChangeIndex = 0;
this.currentChangeIndex = 1;
fs.writeFileSync(this.currentFile, JSON.stringify({ columns }) + '\n');
this.currentStream = fs.createWriteStream(this.currentFile, { flags: 'a' });
this.writeCurrentStats(false, false);