valor-software / ng2-table

Simple table extension with sorting, filtering, paging... for Angular2 apps
http://valor-software.github.io/ng2-table/
MIT License
553 stars 336 forks source link

Table pagination #167

Open vulture9 opened 8 years ago

vulture9 commented 8 years ago

There is a bug. steps to replicate:

  1. Change page on pagination, lets say page 3.
  2. filter value in input box.

Table is stuck on page 3 with no records.

georules commented 8 years ago

I confirm this problem. Specifically, if the page chosen is larger than the number of total pages after filtering, the table ceases to respond. I am new to this project, and interested in using it for a project of mine. I'll look at it a little to see if I can help determine how to, perhaps instead, have it select the last page when the current page is larger.

ravi0880 commented 8 years ago

for me, here is the error I received Expression has changed after it was checked. as mentioned in the below post, it works in enableProdMode() https://github.com/angular/angular/issues/6005 Hope this helps.

Hasnain-Bukhari commented 7 years ago

This is not an error. when you try to search it. It search the whole data and assign new pages. If you have enough data that filter it comes on 3 pages than it will work. otherwise it will not work. so basically it rearrange the filter data place new pagenation to please look it carefully

webcat12345 commented 7 years ago

https://github.com/valor-software/ng2-table/issues/397