From d30e6ac20952f280441e03eebc8a1a0a2fbe61e6 Mon Sep 17 00:00:00 2001 From: Mahyar Khanbolooki Date: Thu, 21 Aug 2025 18:27:26 +0330 Subject: [PATCH] improve: datatable style --- src/components/ui/datatable.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/ui/datatable.tsx b/src/components/ui/datatable.tsx index 0eb8624..2430df2 100644 --- a/src/components/ui/datatable.tsx +++ b/src/components/ui/datatable.tsx @@ -399,12 +399,17 @@ export function DataTableDemo () { columnFilters, columnVisibility, rowSelection + }, + initialState: { + pagination: { + pageSize: 8 + } } }) return (
-
+
{table.getHeaderGroups().map(headerGroup => ( @@ -460,7 +465,7 @@ export function DataTableDemo () {
-
+
نمایش:{' '}