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

React Table Not Working with React Bootstrap Tabs #26

Closed
atkawa7 opened this issue Jan 13, 2017 · 2 comments
Closed

React Table Not Working with React Bootstrap Tabs #26

atkawa7 opened this issue Jan 13, 2017 · 2 comments

Comments

@atkawa7
Copy link
Contributor

atkawa7 commented Jan 13, 2017

It seems the totalpages is not changing even if the pages in the reacttable component changes
react tabs2

@atkawa7 atkawa7 changed the title React Table Not Working with Tabs React Table Not Working with React Bootstrap Tabs Jan 13, 2017
@tannerlinsley
Copy link
Collaborator

Are you using server-side data? The only reason to manually set pages is if you are using server-side data.

If you are, you might simply be missing the manual prop. This tells react table to use the data "as-is" without slicing or paginating it, and also overrides the page count with the pages prop you pass.

Does that help?

@atkawa7
Copy link
Contributor Author

atkawa7 commented Jan 13, 2017

It works

@atkawa7 atkawa7 closed this as completed Jan 13, 2017
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