-
Notifications
You must be signed in to change notification settings - Fork 80
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
update pageSize value with javascript API #322
Comments
Figured it out. The answer, along with many other functionalities, is in
edit: trying to use a number from the virtualSelectInput value messes with the prev/next pagination actions - fixed this by using the |
Yep, there's no support for updating the page size through the JavaScript API at the moment. You can definitely do it using This should be really simple to add to the JavaScript API though, and I could see it as a useful way to create your own pagination controls (along with prev/next page, go to page N). |
Ah, I have a few other uses from Case:
Thanks. |
This is now in the development version:
|
I was messing with the
Reactable.getState()
function from the javascript API documentation and couldn't find a resource on updating thepageSize
state property. ie. how to use the API to change the number of displayed rows (pageSize) from x to y.I have read the rest of the documentation which updates other things like hidden columns, filters, etc... and came across the R function
updateReactable()
but neither seems to answer my question...Thanks.
The text was updated successfully, but these errors were encountered: