when using pagination and switching to page>1, and then filtering the rows, no results are shown
See original GitHub issueI’m submitting a … (check one with “x”)
[X] bug
**Current behavior**
When using pagination, and switching to page>1, and then filtering data, the filtered data is not shown (unless there is enough data to populate the pages)
**Expected behavior**
I think the table should switch back to page 1 on data change or via a manual method call.
**Reproduction of the problem**
see plunker :
https://plnkr.co/edit/cQKNI9cDMkLCJrcWtdcK
click "page 2" and then click "filter data". the data is gone although there is one record.
**What is the motivation / use case for changing the behavior?**
I need to combine pagination and data filtering on the table.
**Please tell us about your environment:**
latest
* **Table version:** 0.7.x
latest
* **Angular version:** 2.0.x
latest
Browser : Chrome
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to fix pagination reset issue in react-table? - Stack Overflow
The Page number should be reset to 1 e.g. current display is Page 2 of 3, after the filter from outside the table...
Read more >Tutorial: Add sorting, filtering, and paging with the Entity ...
Click the paging links in different sort orders to make sure paging works. Then enter a search string and try paging again to...
Read more >Confluence Table Filter Macro Issue - Atlassian Community
I am using the Table Filter Macros for couple of my filters that retrieves 400-500 records. My pagination is set to 25 records...
Read more >The best database pagination technique is … | by Matej Bačo
Then, we list 10 documents using offset pagination while having a filter to only show those that are published. Right after, we write...
Read more >Angular Grid - Paging and Filtering issue - Telerik
For some reason when i filter on a page (other than page 1) it isn't ... grid appears empty and i'm having to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes I am facing the same problem I want to switch page 1 programmatically
Expected behavior I think the table should switch back to page 1 on data change or via a manual method call.
This is a duplicate of #515