glin/reactable

Controling the location of the pagination controls

sam-israel opened this issue · 1 comments

Is it possible to control the location of the pagination controls (specifically, setting it to be on top of the table) ?

glin commented

It's not possible. It's been considered in the past, but there surprisingly haven't been any requests to move the pagination until now, so I hesitate to add more configuration to an already massive list of configuration settings. For these uncommon use cases, I'd rather make it easy to create your pagination controls and place it wherever you like, allowing flexibility for other scenarios beyond just moving the pagination. I'm not sure if that's totally feasible now, but there has been some work started in the current development release with exposing JavaScript API methods to control pagination:

New Reactable.gotoPage() and Reactable.setPageSize() methods in the JavaScript API to change the current page or set the current page size. (#322)