T
TanStack3y ago
sensitive-blue

Change default size in uncontrolled pagination

I'm following this example to add pagination to my table (Uncontrolled) - https://tanstack.com/table/v8/docs/examples/react/pagination How do I change the initial size, which is 10
React Table Pagination Example | TanStack Table Docs
An example showing how to implement Pagination in React Table
1 Reply
sensitive-blue
sensitive-blueOP3y ago
I guess I got it. Inside the useReactTable, adding the following makes it work. initialState: { pagination: { pageSize: 10, }, },

Did you find this page helpful?