akveo / akveo/ng2-smart-table

Pagination not reseting when the server data source changes

Open
#350 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

Hello ,
I am having problems with the pagination when I am changing the source of my table . I am using server data source . If source A has 150 items with 10 items per page then there comes 15 pages. Now when I go to any of the page other than 1 (lets say 4) and change the source to B having 30 items with 10 per page. I am still on page 4 showing noDataMessage and not on page 1.
I also tried setPaging but its not working. Any help would be appreciated.

Thanks
Anshul

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.