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 (
|
return (
|
||||||
<div className="flex items-center justify-between px-2">
|
<div className="flex items-center justify-between px-2">
|
||||||
<div className="text-muted-foreground flex-1 text-sm">
|
<div className="text-muted-foreground flex-1 text-sm">
|
||||||
{hasSelectRow && (
|
{hasSelectRow &&
|
||||||
<>
|
`${table.getFilteredSelectedRowModel().rows.length} selezioni su `}
|
||||||
{table.getFilteredSelectedRowModel().rows.length} di{" "}
|
{table.getFilteredRowModel().rows.length} righe totali
|
||||||
{table.getFilteredRowModel().rows.length} righe selezionate.
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-wrap items-center gap-x-6 gap-y-2 lg:gap-x-8">
|
<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">
|
<div className="flex items-center space-x-2">
|
||||||
<p className="text-sm font-medium">Righe per pagina</p>
|
<p className="text-sm font-medium">Righe per pagina</p>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue