Most voted "paging" questions
Paging is the process of dividing information into separate pages. Paging is often used for the purpose of printing or searching information.
Learn more…174 questions
Sort by count of
-
23
votes2
answers29551
viewsSimple paging in jQuery/Javascript
I’m looking for a simple pagination, no CSS styles, nothing like that. Only with the buttons below to change page and with the elements on top. I’m asking because the examples I find are a little…
-
17
votes2
answers9076
viewsMVC Asp.net paging
Currently I work with the data like this: Context returns to me all Bank Customers public IEnumerable<Clientes> ListarTodos() { return contexto.Clientes.ToList(); } In the controller I call…
-
8
votes3
answers16157
viewsAutomatically load content when you reach the bottom of the page
I want to make an automatic page like Facebook, which when it reaches the bottom of the page automatically loads another page with more posts. I’ve already researched the subject and I haven’t found…
-
8
votes0
answers72
viewsSELECT to get many lines in PHP
I’m a beginner in PHP and Mysql and need to know what I do to get all users registered in a database when the number of users reaches thousands? I registered 300,000 users in my database and would…
-
7
votes3
answers23785
viewsHow to make PHP and Mysql paging?
I want to make a pagination on my blog. I’m not going to have 50 posts on the first page, so I want to limit the page to the last 15 posts added and then by clicking on the "Older posts" button will…
-
7
votes1
answer522
viewsPHP script paging
I would like to know how I can make a PHP pagination (in this case, 10 items per page). The exhibition is being made this way: <?php foreach($pdo->query('SELECT * FROM videos ORDER BY id…
-
6
votes1
answer2821
viewsHow to limit the number of pages shown in a pagination?
With this question that already has solution, I got as a result a paginação com PDO but I have one more problem that will possibly be the subject of a reward next week. As you can see in the image…
-
6
votes2
answers189
viewslimit the for, php
Good is the following, I am generating pagination links to get more lightness in my system, the problem is I have many records in the database and this pagination generates many links, thus…
-
5
votes2
answers544
viewsRank database [#1 of 10]
I need to rank the DB records during paging. I don’t intend to create a field for ranking at first. Assuming I have 10 records 1) Ordenando a paginação por AZ, quero listar com o número…
-
5
votes2
answers3252
viewsHow to put the page number to be printed with CSS in @media print
I want to put the page number when the user wants to print my web page. For example, when it is to print my page, and it is broken in two, I want it to appear "page 01/02" and "02/02" on the pages,…
-
4
votes2
answers2405
viewsPaging inside modal window in bootstrap
I have a modal window in bootstrap, and inside it a pagination, it happens that every time I click on some pagination link, the modal closes. Does anyone know how I keep the modal open? jQuery:…
-
4
votes1
answer281
viewsHow to make a Slug pagination in Cakephp?
Cakephp by default generates a pagination with indexes, for example: noticias/listar/page:2 I would like to make a pagination in this way: notícias/listar/2…
-
4
votes3
answers1517
viewsHow to use Skip and Take with Pagedlist Helper
I would like to make the pagination, but using Skip and Take on my LINQ not to fetch all results. Currently my code is like this: public ViewResult Index(int? page) { var grupos= from s in db.grupos…
-
4
votes1
answer143
viewsDisplay all tables in the Phpmyadmin navigation column
The Phpmyadmin (English) in these latest versions has the number of tables in the left side navigation limited, being applied a pagination to them. Not only have I noticed being something slower as…
-
4
votes1
answer557
views.each() in pure Javascript
On a platform of forums there is a pagination system, and I would like to make this pagination via Ajax, for this, I built the following function: //<![CDATA[ var Pagination = (function(w, d) {…
-
4
votes2
answers923
viewsIs it possible to use native query + spring date for paging?
I need to make a pagination using dynamic querys because I have to do many joins, I’m trying to make only one select * to test the use of native query + spring data, but the error message is as…
-
4
votes2
answers257
viewsEvent click is lost on the next page in the pagination
I have developed a simple pagination page for my studies and am having a problem with the click event when I go to the next page. On the first page the event works but when I go to the next the…
-
3
votes4
answers8540
viewsHow to let bootstrap tab active after clicking on pagination?
I have a screen made in the bootstrap that contains two tabs, one called "Settings" and the other "Users". Inside the tab "Settings", I have a simple, normal form, already inside the tab "Users", I…
-
3
votes3
answers9080
viewsOn-demand paging with Angular or Javascript
How to make a pagination on demand with Angularjs? I have 2 particularities: 1 - No jQuery, only Angular or pure Javascript can be used. 2 - I have 2 methods the prevPage and nextPage. Below example…
-
3
votes1
answer433
viewsPagination always shows 20 images
I’m doing a gallery using Cakephp’s Pagination. The problem is that I only want to show 15 images per page, but regardless of the value I put in public $paginate, in the limit, 20 images are always…
-
3
votes1
answer379
viewsPagination with generic method
I am trying to create a generic method for paging, I tried to do as the code below, but when using Skip I need to have a orderby and I’m not sure how to do. public IQueryable<TEntity>…
-
3
votes2
answers151
viewsBlog pagination, post limitation
I have a blog embedded on the site and I want to limit the number of posts per page, but the problem you’re giving me is that it doesn’t limit my posts. Code ///Ler posts do blog da página atual…
-
3
votes1
answer2029
viewsImplement navigation with buttons: [first] [next] [previous] [last]
Explanation: I have an HTML+jQuery table and I have an enumerated pagination that is functional, but I would like to add an additional navigation to it. Question: I would like to add an…
-
3
votes1
answer1005
views -
3
votes2
answers350
viewsPHP + Codeigniter - Persist query parameter in pagination
Dear friends I resort to help in PHP+Codeigniter. I am new to Codeigniter and I have the following question. I would like to Persist the Pagination Search parameter that I’m not getting. After…
-
3
votes1
answer481
viewsSelect Distinct returns repeated data when using Row_number
I’m trying to make pagination with SQLServer 2008 as follows: WITH CTEResults AS ( SELECT DISTINCT SolicitacaoServico.AutoId AS Id_Solicitacao, Pessoa.Nome AS Nome, Beneficiario.Codigo AS…
-
3
votes2
answers155
viewsRails performing XHR request when loading pages
I have noticed that in every page/route exchange, the Rails *make a new request Ajax to search for this new data (HTML), and thus perform the page exchange. I did several searches but the closest I…
-
3
votes1
answer919
viewsHow to use Laravel paginate with a manual query?
I have a query manual on my model, and I want to return to view of blade the result of this paging query. Is there any way? Model class Ticket extends Model { protected $fillable = [ 'id', 'title',…
-
3
votes1
answer55
viewsProblem in the pagination
I’m making a pagination. So far so good, but when I’m on the home page, it shows the results, everything ok. But when I click to go to the page 2, it only changes the last page result. example…
-
3
votes1
answer169
viewsI want to count and quantify the Array index on onclick control
I want to create a simple element-based pagination within an array. When arriving at the first and/or last element of the array, I would like to disable the respective navigation button (e.g., by…
-
2
votes1
answer265
viewsRun a PHP Pagination with Jquery
I made a script that imports images of a CMS own for Wordpress and not to overload the server and the import machine this system has a pagination that displays 20 elements per page:…
-
2
votes2
answers2104
viewsHow to camouflage a page link
example I see many pages creating a file m3u and hosting but if you try to paste address in the browser to download the file the page redirects without downloading or show the file to another page.…
-
2
votes0
answers92
viewsPaging
In my controller I limit to 7, but when he makes the pagination, the first page comes with 3, 4, 1, and goes varied. public $paginate = array( 'limit' => 7, ); That’s what I do on my controller,…
-
2
votes1
answer432
viewsHow to make paging inside a modal in bootstrap?
I have a modal in bootstrap that opens at the click of a button, inside this modal I want to display 2 contents: 1 form and 1 paragraph. However, I would like to paginate that within the modal, 1…
-
2
votes1
answer414
viewsWrong paging on Codeigniter
I have 15 Ads on my website and I have made pagination for 10 Ads per page. Okay, Codeigniter is paging with 10 Ads/Page, but on the second and last page Codeigniter is showing 10, when it should…
-
2
votes0
answers111
viewsDoubt in PHP Paging
I’m working on a system and I’m having doubts in the pagination, I know it can have some grotesque errors because not "manjo" much. <?php include("cabecalho.php"); include("conexao.php");…
-
2
votes0
answers295
viewsHow to page using Flask and return in Json?
I need to make a query to the bank (neo4j) and return a json, but as the answer is very large precise paging. I’ve looked at the stack a lot, but most responses use the sqlalchemy pagination method…
-
2
votes1
answer470
viewsPSYCOPG2 - Pagination
In the search for how to make paging using psycopg2 I discovered the attributes cursor itersize. and cursor., and the methodscursor.fetchmany() and scroll cursor.() I wanted to check with the staff…
-
2
votes1
answer1148
viewsProblems with paging in the Standard
I have a page where is listed the title of all news site, and has pagination. I was asked to put a field of research, to facilitate the search for a certain news. I was able to make this form and…
-
2
votes1
answer649
viewsFilter with paging - Laravel
Good night, The filter itself appears right, but when you go to another page (by paging), you lose this filter. I can’t find the problem, someone can help me? My route:…
-
2
votes1
answer279
viewsWhat’s wrong with this non-responsive paging using boostrap 4 in Laravel?
I’m using Laravel to make a system, along with the framework Bootstrap. And I’m using the paging feature. However, I’m having trouble making the pagination numbers responsive. Both are not…
laravel twitter-bootstrap laravel-5 responsive-layout pagingasked 5 years, 2 months ago Arthur Abitante 439 -
1
votes3
answers485
viewsHow to select separate records on multiple pages of a PHP pagination?
How to select all records of a pagination? Similar to what gmail does where it always does , when marking checkbox which selects only the one of the current page, a text appears just above to select…
-
1
votes2
answers443
viewsPaging results in SQL Server 2000
Sometimes I need to make queries in SQL Server 2000 and paginate the results but there is only the clause TOP that limits the number of records returned without an interval (offset) other banks like…
-
1
votes1
answer419
viewsPaging with Eager Loading in Laravel
I’m having a little ordering problem involving paging and Eager Loading. What I need to do: On one part of my site, I need to bring paged results from a subcategory The subcategory is daughter of a…
-
1
votes1
answer321
viewsProblems with SLIM paging with Pager
How to change page using Pear-Pager in SLIM Framework? The code of router is: $app->get('/imoveis(/:pg)', function($pg = '') use($app) { $imoveis = array('casa 1', 'casa 2', 'casa 3', 'casa 4',…
-
1
votes1
answer671
viewsAndroid Fixed Paging
I have a gridView I’m populating through a WebService. The problem begins when I want to trigger an event let’s say clico by sliding the screen left or right I know there is a pageview, but I don’t…
-
1
votes1
answer73
viewsUse pagination in 2 lists without one influencing the other
I’m listing images and characteristics of them that are collected from the database. As can be seen below, I am already listing the 2 images and their characteristics, each image is from a table in…
-
1
votes1
answer670
viewsProblems with paging in Wordpress
I’m having a problem showing the pagination on a Wordpress page using WP-Pagenavi. The post_type "pronamic_event" exists on the seat and behind all the query items. I was able to identify that the…
-
1
votes1
answer1408
viewsPagination View return from Laravel/Paginate Array::make()
When I create a pagination manually, it is giving error, it does not create in the view the amount of exact elements as I determine. On my controller: public function getIndex(){ $fileClass =…
-
1
votes0
answers53
viewsPage a very large list
Grid in MVC - I have a lot of data to return and I didn’t want to bring all of a single see even why there is paging. How do I get 10 records? Which grid to use together with MVC and Entity…