Questions tagged [pagination]
Pagination is the process of dividing information into discrete pages.
20
questions with no upvoted or accepted answers
5
votes
1
answer
168
views
GitHub API client
Here is my Haskell program designed to list all of my GitHub repos along with their descriptions and languages via the GitHub JSON APIs:
...
3
votes
0
answers
963
views
Pagination For Qt's Listview
I'm creating a generic pagination helper class.
Personally I use this class for navigating through Records which are loaded into
any sequential containers e.g ...
3
votes
0
answers
91
views
Paginator module in Elixir
I wrote this Paginator module that's part of a small application that displays Elixir Github repos in a table.
I'm new to Elixir and looking for code improvements with as much as possible. Best ...
3
votes
0
answers
2k
views
PowerShell Supports Paging
I've not played with SupportsPaging before, so wanted to knock up some demo code & get feedback on whether my implementation is OK, or if I've misunderstood ...
3
votes
0
answers
1k
views
Combining pagination and non query grouping in Slick 3.0
I have the following tables:
val postTable = TableQuery[Posts]
val postTagTable = TableQuery[PostTags]
val tagTable = TableQuery[Tags]
One post can have multiple ...
3
votes
1
answer
2k
views
Pagination object oriented
This a little pagination script that I am writing "Object Oriented" and I have no idea how to set the current page equal to total page, if the current page is greater. I also would really like it if ...
2
votes
0
answers
38
views
Cursor-based search result pagination
Can you guys review my GraphQL search pagination function? I'm afraid there could be some performance issues, or something. Especially at the aggregation section and this ...
2
votes
0
answers
1k
views
Redux pagination transducer
Motivation
In my web app (React, Redux, TypeScript) we have a common need to write paginated API calls, with various UI interactions (infinite scroll, prefetch pages in the background, or manual page ...
2
votes
0
answers
4k
views
Pagination using Spring MVC and Hibernate
My company develops a Spring web application that exposes a REST API and right now we're starting to look into pagination for the methods that load data from some heavy tables.
We initially looked ...
2
votes
0
answers
774
views
React app with paging
I want to create react app with paging, which will keep state on page reloading.
I'm using react-router-dom and my own Paging ...
2
votes
0
answers
678
views
Pagination links for various lists using Spring-HATEOAS
I'm using Spring HATEOAS to create some links on my REST API. However, the entities i'm returning are very close, so the code to generate the links are the same:
...
2
votes
0
answers
330
views
A clean way to do CRUD with pagination
What do you think about the following approach to CRUD? Here is the reading+pagination example. DTO types have Dto* prefix, EF Entity Types have E* prefix.
DAL example:
...
2
votes
0
answers
78
views
Fetching photos and tweets related to selected publications
1) Postgresql
2) User has_many :reports
3) Report belongs_to :user
3) Report belongs_to :publication
4) Publication has_many :reports
4) Publication scope :photos, -> ...
2
votes
0
answers
382
views
Resource that use two different services and query with pagination when resolved
I'm learning Angular and I don't like my current approach. The current controller uses first Geolocation service and when ...
2
votes
0
answers
2k
views
Pagination handlebars helper
I've build a handlebars helper that takes n total pages and currentPage and returns the HTML for the page number links, skipping ...
1
vote
0
answers
365
views
Calling PagerDuty REST API to recursively fetch oncall info for a team
I am a beginnner and have put up a code that talks to pagerduty API and then it fethces oncall info for a team (get team id, get escalation policy id, then finally get on call info). response is ...
1
vote
0
answers
132
views
Angular pagination component
I have written an Angular component for pagination. It works like this:
page count < 12
all pages are shown
Example:
< 1 2 *3* 4 5 6 >
page count >= ...
1
vote
0
answers
56
views
Paginating a paginated API response
I have an application which requests data from a REST endpoint 50 items at a time and displays results in the UI. I would like to paginate each API response into smaller arrays for display and then ...
1
vote
0
answers
2k
views
Paging loader using RxSwift
This is generic logic for handling network requests that load data based on pages. It is assumed that the view controller would implement the UISource protocol. I ...
1
vote
0
answers
2k
views
Pagination from resultset for JTable
I am trying to create simple app, where I need a pagination for my JTable. I want have there buttons with number for all "pages" in my JTable. I have code here:
Class Customer:
...