{ globalFilter = e.currentTarget.value; }} class="h-7 w-64 text-xs px-2" />
{#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)}
props.handleRowClick(row.original)} class="cursor-pointer" > {#each row.getVisibleCells() as cell, i (cell.id)}
{/each}
{:else}
No results.
{/each}
Rows per page
{ table.setPageSize(Number(value)); }} >
{String(table.getState().pagination.pageSize)}
{#each [1, 2, 3, 4, 5] as pageSize (pageSize)}
{pageSize}
{/each}
Page {table.getState().pagination.pageIndex + 1} of {table.getPageCount()}
table.setPageIndex(0)} disabled={!table.getCanPreviousPage()} >
Go to first page
table.previousPage()} disabled={!table.getCanPreviousPage()} >
Go to previous page
table.nextPage()} disabled={!table.getCanNextPage()} >
Go to next page
table.setPageIndex(table.getPageCount() - 1)} disabled={!table.getCanNextPage()} >
Go to last page