This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table pagination for about 40 rows per page

 
albert kao
Ranch Hand
Posts: 252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use the TableKit javascript library and JSP for displaying scientific data. The size of my data sets are about 100-25000 rows and 5 columns. I would like to display the data for about 40 rows per page. The user can click the "Next" and "Previous" button to go to the next and previous page respectively. The user can go to the page directly by clicking the page number "1", "2", "3", ... button.
Apache DB database and Tomcat server are running on Windows Vista Home.
Should I implement this with TableKit javascript or JSP?
Any sample code or tutorial?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Albert,
Definitely JSP. Or a tag library for JSP. If you handle it in JavaScript, the JSP has to load thousands of rows of data resulting in a huge, slow webpage going to the user.
 
albert kao
Ranch Hand
Posts: 252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any sample code or library or tutorial?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the FAQ.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic