total rows
This commit is contained in:
parent
9c47d57969
commit
4d95791391
1 changed files with 4 additions and 6 deletions
|
|
@ -26,13 +26,11 @@ export function DataTablePagination<TData>({
|
|||
return (
|
||||
<div className="flex items-center justify-between px-2">
|
||||
<div className="text-muted-foreground flex-1 text-sm">
|
||||
{hasSelectRow && (
|
||||
<>
|
||||
{table.getFilteredSelectedRowModel().rows.length} di{" "}
|
||||
{table.getFilteredRowModel().rows.length} righe selezionate.
|
||||
</>
|
||||
)}
|
||||
{hasSelectRow &&
|
||||
`${table.getFilteredSelectedRowModel().rows.length} selezioni su `}
|
||||
{table.getFilteredRowModel().rows.length} righe totali
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap items-center gap-x-6 gap-y-2 lg:gap-x-8">
|
||||
<div className="flex items-center space-x-2">
|
||||
<p className="text-sm font-medium">Righe per pagina</p>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue