Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic page size #15

Open
petervelosy opened this issue Sep 5, 2024 · 1 comment
Open

Dynamic page size #15

petervelosy opened this issue Sep 5, 2024 · 1 comment

Comments

@petervelosy
Copy link

petervelosy commented Sep 5, 2024

There should be a way to make page size dynamic (so that it fills however much space it is given).

Unfortunately, the first parameter of rememberPaginatedDataTableState does not seem to be an "initial page size" (even though it is called so), but a "fixed page size" at the moment, as the page size neither shrinks nor expands according to the available space.

@sproctor
Copy link
Owner

Yeah, that would be a pretty cool feature. If you want to implement it, I'd be happy to merge it. It's not something I plan to use, so I probably won't implement it myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants