Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need table that will be able to:

  1. sort
  2. lock columns
  3. lock the header row
  4. resize columns
  5. scroll
  6. if possible can add/remove columns.

Was hoping to able to do this with jquery / html5 and have all data client side - so no server requests.

I have tried:

  1. http://www.datatables.net/ has no locking, resizing of columns
  2. http://tablesorter.com/docs/ similarly has no locking, resizing of columns.
share|improve this question
what do you mean by locking? What can you do to the examples of 1 and 2 that you don't want to be able to do? – joshuahedlund Feb 17 '12 at 21:41
Also, how is locking the header row different from the table being scrollable? I'm interpreting those as the same thing. – Su' Feb 17 '12 at 21:53
Say have I have 20 columns. That means I'll have a horizontal scrollbar. I'd like to be able to lock the first three columns. So that they don't scroll. – dublintech Feb 17 '12 at 21:56
up vote 2 down vote accepted

DataTable can lock columns, and there's a plugin that adds the ability to resize them. (There's no good anchor; just do an in-page search for "resize.")

Flexigrid will do everything on your list, except for the column locking.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.