views:

55

answers:

4

I have an HTML table which may contain thousands of rows (number of columns is not a problem here).

I would like to be able to browse this table easily and be able to do the following:

  • Decide how many rows will be presented
  • Jump to the next/previous X number of rows
  • Scroll the table using the scroll bars to any desired line
  • Be able to customize/extend easily this Javascript/jQuery code

Has anyone seen something similar ?

Thank you very much !

+1  A: 

You are looking for something like DataTables.

It has the ability to:

  • Paginate your table.
  • Jump to any page in the pagination.
  • It currently cannot be scrolled to the desired location however ...
  • It is easily extensible both via plugins and through its API.

It can also:

  • Filter your table [And allows you to write custom filtering logic]
  • Sort by any column or set of columns
  • Pull from a multitude of data sources
  • Use themes from Jquery UI (Which means it is also easy to roll your own.)
Sean Vieira
A: 

This jQuery plugin might also meet your needs: Tablesorter

kchau
A: 

I use flexigrid but there is also jgrid

mcgrailm
A: 

Not exactly a duplicate, but close. See also slickgrid, dojox.grid, extjs grid...

peller