question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

when using pagination and switching to page>1, and then filtering the rows, no results are shown

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
imVinayPandyacommented, Dec 20, 2016

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.

0reactions
deegcommented, Feb 27, 2017

This is a duplicate of #515

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found