{#if !loaded}
{:else}
{#if customColumnRenderer} {/if} {#each fields as field} {/each} {#each sortedRows as row, idx} toggleSelectRow(row)} class="spectrum-Table-row" class:hidden={idx < firstVisibleRow || idx > lastVisibleRow}> {#if idx >= firstVisibleRow && idx <= lastVisibleRow} {#if customColumnRenderer} {/if} {#each fields as field} {/each} {/if} {/each}
{customColumnTitle || ''}
sortBy(field)}>
{schema[field]?.displayName || schema[field]?.name}
{#if schema[field]?.autocolumn} {/if} {#if sortColumn === field} {/if} {#if allowEditColumns} editColumn(e, field)}> {/if}
toggleSelectRow(row)} onEdit={e => editRow(e, row)} {allowSelectRows} {allowEditRows} />
{/if}