TableKit

TableKit is a collection of HTML table enhancements using the Prototype framework. TableKit currently implements row striping, column sorting, column resizing and cell editing using Ajax.

Current Version: 1.2.2 - 14 July 2008 - Demo / Download

Instructions

All the documentation can be found with the demo.

Support

This script is provided "as is". Millstream are unable to provide support, but you may submit your questions, suggestions, patches, bugs and such to the Dexgogo group on Google Groups.

License

This script is provided under the Open Source MIT License.

Demo & Download

You can view the demo to see an example and read the documentation or the demo can be downloaded as a zip file.

This project was done in partnership with Dexagogo.

Frequently Asked Questions

Q: When I reload the table after editing a cell the changes are gone?

A: You need to send your request using ajax to a server side script which processes the change and writes it to a database. This is outside the scope of TableKit.

Q: I have dynamically creating a table using the results of an ajax call. If the table has a class of "sortable" an error is generated when you click on a column heading (error: row[0]).

A: You need call TableKit.reloadTable(tablename); to force TableKit to reinitialise.

Change Log

Version 1.2.2

  • Fixed problems in IE7
  • Fixed a class naming bug

Version 1.2.1

  • Fixed a subtle bug with sorting types

Version 1.2

  • Huge improvement to sorting & striping performance
  • Removed a lot of internal cruft

Version 1.1

  • fixed resize inaccuracy problem
  • Added new option: showHandle for the resize handle
  • a couple of internal improvements

Version 1.0.2

  • Trailing comma bug ...
  • Another typo...
  • Thus: code audit and tidy ALA JSLint

Version 1.0.1

  • Fixed a typo (doh!)
  • small changes to date handling

Version 1.0

  • Initial Release