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

Table gets refreshed and comes back to first page whenever there is any data change (in line edit of rows) #72

Open
nitishnivedan opened this issue Oct 22, 2020 · 1 comment

Comments

@nitishnivedan
Copy link

Hi,

I am using this react-table-hoc-fixed-column to freeze certain columns. My each row in the table has inline edit (For ex. in each row, one column has dropdown).

The problem with this hoc is when I change value of any row's drop down it comes back to first page (like a fresh render).

For example I am in page 2 and i edit any row then it comes back to 1st page. Although data is being retained.

Will really appreciate any lead.

"react-table": "^6.10.3",
"react-table-hoc-fixed-columns": "^2.3.3",

[Note: my code works totally fine when I use the react-table, it doesnt come back to first page]

@nitishnivedan
Copy link
Author

@GuillaumeJasmin - please help

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

1 participant