Skip to content

Saving filter and pagination values  #1171

@chazarabriseis

Description

@chazarabriseis

I am changing between a table and a show something tab. I want the table to rember the page I was on and the filter terms I put it. However every time I come back from show the table rerenders and I do not know how to save this information/values and to pass it on dynamically. Or perhaps how to surpress a rerender. I tried to find a similar issue but could not find an answer.

I am adding a codebox example to make my problem clear. Going on the second page and the clicking on show and again on table brings me to the first page. Also filtering for example 7 then clicking show and table again I am back at page 1 with the full table.

https://codesandbox.io/s/table-remeber-filter-znohm

Thanks in advance for a pointer how I can do this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions