Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
j += 1;
}
spreadSheetData.push(row)
}
for (var i = 0; i < maxLength.length; i++) {
if (maxLength[i] > 1000) {
maxLength[i] = 1000;
}
widths[i] = maxLength[i] * 3 + 100;
}
console.log("immediate load data", widths)
let spreadsheet = jexcel(that.$refs.tableViewDiv, {
data: spreadSheetData,
colWidths: widths,
});
// Object.assign(this, spreadsheet);
// that.sheet = new Spreadsheet("#tableView").loadData({rows: spreadSheetData}).change(function(d){
// console.log("sheet data change", d)
// });
})
}