Questions tagged [pagination]

Pagination is the process of dividing information into discrete pages.

Pagination is the process of dividing information into discrete pages. Pagination is often used for the purpose of printing or searching information.

Pagination in Web content (HTML, ASP, PHP, and others)

On the Internet, pagination is used for such things as displaying a limited number of results on search engine results pages, or showing a limited number of posts when viewing a forum thread. Pagination is used in some form in almost every web application to divide returned data and display it on multiple pages. Pagination also includes the logic of preparing and displaying the links to the various pages.

Links

Wikipedia Pagination

17657 questions
3
votes
1 answer

Paging 3.0 list with new params in Kotlin

I have the following code: val history: Flow> = Pager(PagingConfig(pageSize = 10)) { PaginationBaseDataSource(apiService) }.flow .cachedIn(viewModelScope) This currently is displaying a list of items without any…
3
votes
1 answer

Pagination in Asp.net core problems, only getting 10 items not making it faster?

i am trying to improve my pagination in Asp.net core web app... I want only to load 10 records each page. The first time i did this, i was loading all records, and then at the end i was just getting 10 of those and sending to the View, pretty bad…
Ricardo Figueiredo
  • 206
  • 1
  • 5
  • 14
3
votes
3 answers

How to center pagination block with react-bootstrap

I have built out a custom pagination setup for a small web-app I am building using react-bootstrap. I have got all the integration and pagination to work correctly. I am relatively new to react / bootstrap & have NOT done a lot of css. I want to…
sudhishkr
  • 3,318
  • 5
  • 33
  • 55
3
votes
0 answers

How to make JPA Pagination return Date instead of epoch when sorting by date?

I'm working on a legacy project and I'll try to make it short. I have this Entity that has a field private Date createdAt; Then I've defined an implementation in my JpaRepository extension: Page findAllByUserId(Long userId, Pageable…
Rigo Sarmiento
  • 434
  • 5
  • 21
3
votes
2 answers

extjs' passing extra parameters for grid due using pagination buttons

I have a problem. I have getAllJobsControllerUrl() function which return url with specific parameters: proxy: new Ext.data.ScriptTagProxy({ url: getAllJobsControllerUrl(), method : 'GET' …
davs
  • 9,226
  • 8
  • 41
  • 54
3
votes
1 answer

Method not getting correct useState value despite updating state in React

I am working on a site where I am trying to display paginated student information. For example I have 12 students I have pagination items 1-4 as I display 3 students at a time. I am running into a problem when I call my update pagination function.…
Galactic Ranger
  • 851
  • 3
  • 14
  • 30
3
votes
2 answers

Laravel Pagination on POST request

Im using Laravel v7 and i have a question about pagination. So far im using 2 routes, 1rst to return a view with all rows from database, and 2nd receives an input and returns that view with the rows filtered by that input value. But im using…
JS_LnMstr
  • 348
  • 1
  • 6
  • 18
3
votes
0 answers

Paging 3.0 library won't stop fetching items from server

I'm using the Paging 3.0 library to load some data from the server and I'm currently facing an issue where the server returns small number of items i.e 1,2, items. What happens now is the Paging library keeps calling the same endpoint, non-stop. My…
3
votes
5 answers

Calculating number of results in a specific page using pagination

I have a search result from MySQL query or Array or something else. The result gave a variable $totalfiles say for example 25. The number of results is limited to $limit, here 12. The maximum number of pages calculated, $maxpages, will be 3. As we…
Alfred
  • 21,058
  • 61
  • 167
  • 249
3
votes
2 answers

Angular 8 Pagination custom without using material

I want to make pagination in angular 8 project without using material library. I receive an array that include 10 data rows, first page link, last page link and total pages. Response from Server: { data : [ {name: 'abc': id: 1}, …
yasir ali
  • 106
  • 10
3
votes
1 answer

Is there anyway to implement Multi Column Filtering in Laravel Voyager Bread Browse View with Server Side Pagination

I have a bread for Some Reports generated on my Voyager Dashboard. See the screenshot. And since there will be a huge amount of data available on this, i have enabled Server Side Pagination. With this set-up i am now able to show the reports of a…
Rahul K
  • 53
  • 1
  • 7
3
votes
0 answers
3
votes
1 answer

Keyset Pagination for Spring Data JDBCs Pageable

AFAIK, the Pageable class supports only LIMIT/OFFSET based paging. However, while being a quite universal solution, it comes with some downsides as outlined here https://momjian.us/main/blogs/pgblog/2020.html#August_10_2020 Keyset Pagination (aka…
Mahatma_Fatal_Error
  • 720
  • 1
  • 10
  • 26
3
votes
1 answer

FastApi pagination error using fastapi-contrib

I'm trying to add pagination to my fastapi project. So I decide to use this: fastapi-contrib I follow the same example there, but for some reason I'm getting this error: type object 'MOrdenesTrabajo' has no attribute 'count' Here is my code, thanks…
Master Yoda
  • 489
  • 1
  • 9
  • 18
3
votes
1 answer

Cannot find a way to make counter-increment work (Chrome/Firefox)

Here is a piece of HTML/CSS code, which should print, thanks to CSS' counters, the page number in footer when printed :