{ 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()}