{#snippet child({ props }: { props: any })}
Columns
{/snippet}
{#each table.getAllColumns().filter((col) => col.getCanHide()) as column}
column.toggleVisibility(!!value)} > {column.id}
{/each}
{#each table.getHeaderGroups() as headerGroup (headerGroup.id)}
{#each headerGroup.headers as header (header.id)}
{#if !header.isPlaceholder}
{/if}
{/each}
{/each}
{#each table.getRowModel().rows as row (row.id)}
{#each row.getVisibleCells() as cell (cell.id)}
{/each}
{:else}
No results.
{/each}
{table.getFilteredSelectedRowModel().rows.length} of {table.getFilteredRowModel().rows.length} row(s) selected.
table.previousPage()} disabled={!table.getCanPreviousPage()} > Previous
table.nextPage()} disabled={!table.getCanNextPage()} > Next