angular2-smart-table icon indicating copy to clipboard operation
angular2-smart-table copied to clipboard

add support for cursor-based navigation

Open ziodave opened this issue 2 years ago • 0 comments

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.

ziodave avatar Nov 15 '22 14:11 ziodave