aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes javascript pagination Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript pagination" Watch "javascript pagination" New topic
Author

javascript pagination

kavita vala
Ranch Hand

Joined: Jul 22, 2010
Posts: 42
I have a html page and in that i was fetch data from database dynamically
for make listings.

Then how can i give facility of pagination to my listing
I was search on google but every example is for static data.

please help me for that issue.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

[Please do not bump your posts]

This is something that should be handled on the server.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
Hi,

Here, i retrieve data from database and also perform sorting.


And also downlaod the script ( (paging.js) ) here :
http://en.newinstance.it/2006/09/27/client-side-html-table-pagination-with-javascript/

This script can handle pagination process.


Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

The solution given by Eswara is full of bad practices and anti-patterns. Take it with a grain of salt.


GenRocket - Experts at Building Test Data
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Why have you posted a JSP solution (and one using really poor practices) for a JavaScript question?

[Edit: Ah, Gregg beat me by a few minutes!]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript pagination