This commit is contained in:
2026-02-09 00:26:12 +01:00
parent 70127e61c2
commit 84e284d65a
3 changed files with 17 additions and 6 deletions

View File

@@ -34,10 +34,21 @@
const headStyle = "text-align:left;padding:8px;border:1px solid #e2e8f0;background-color:#f8fafc;font-size:13px";
const tbody = {
tagName: 'tbody',
selectable: false,
hoverable: false,
draggable: false,
highlightable: false,
components: [],
};
for (let r = 0; r < safeRows; r++) {
const row = { tagName: 'tr', components: [] };
const row = {
tagName: 'tr',
selectable: false,
hoverable: false,
draggable: false,
highlightable: false,
components: [],
};
for (let c = 0; c < safeCols; c++) {
const existingVal = existing?.[r]?.[c] || '';
const label = existingVal || (r === 0 ? `Spalte ${String.fromCharCode(65 + c)}` : `Zeile ${r} / ${c + 1}`);