Click here to Skip to main content
11,927,600 members (49,619 online)
Rate this:
Please Sign up or sign in to vote.
See more: Javascript

can you please explain how to cater for pagination in Javascript.
I am trying to create a table in Javascript and want to iterate using single rows and display 5 rows on a single page. My table has 15 values.

i know the logic to display all the 15 values on a single page, but how do i do it 5 rows per page. how do i read values and write them on pages 5 rows using pagination.

Posted 15-Mar-13 9:49am
Sergey Alexandrovich Kryukov 15-Mar-13 14:56pm
I don't think pure client-side pagination makes a whole lot of sense without server side. With big database and big volume of query results, pagination can be a great tool. Do you have such thing?
Prasad Khandekar 15-Mar-13 16:53pm
Hello Tushar,

I totally agree with Sergey. For a small number of data rows (say up to 100), you can use FlexiGird (, Data Tables ( or SlickGrid ( You may also experience a little performance degradation with IE browser.


tusharmathankar 16-Mar-13 17:02pm
I want to do pagination on 100 data so plz tell me how i do this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 15 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100