angular2-smart-table
angular2-smart-table copied to clipboard
add support for cursor-based navigation
Currently only offset pagination is supported. However many API use cursor navigation.
We should add a DataSource and a Pager which support cursor-based navigation.
See for reference:
- https://use-the-index-luke.com/no-offset
- https://www.citusdata.com/blog/2016/03/30/five-ways-to-paginate/
- https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/overview
- https://www.smashingmagazine.com/2016/03/pagination-infinite-scrolling-load-more-buttons/
I think the first step would be to allow to inject a pager component and then to provide a CursorServerDataSource.