{#if table.length > 1} {#each table[0] as header, x} {/each} {#each table.slice(1) as row, y} {#each row as cell, x} {/each} {/each}
editCell(e, [x, 0])} > {header}
editCell(e, [x, y + 1])}>{cell}
{/if}
{#if canAddRow} {/if} {#if canAddCol} {/if}