mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-21 03:05:00 +02:00
fix table page size selector
This commit is contained in:
parent
3fa7132534
commit
d070415515
6 changed files with 10 additions and 11 deletions
|
@ -49,11 +49,11 @@ export function UsersDataTable<TData, TValue>({
|
|||
getSortedRowModel: getSortedRowModel(),
|
||||
onColumnFiltersChange: setColumnFilters,
|
||||
getFilteredRowModel: getFilteredRowModel(),
|
||||
state: {
|
||||
initialState: {
|
||||
sorting,
|
||||
columnFilters,
|
||||
pagination: {
|
||||
pageSize: 100,
|
||||
pageSize: 20,
|
||||
pageIndex: 0,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue