0
votes

sorttable: Make All Your Tables Sortable

posted March 11, 2009 - 10:51am
sorttable: Make All Your Tables Sortable

This is a great javascript library that creates sortable tables for websites and blogs without SQL or other database queries but instead uses the DOM. Your RSS feed is structured in the same way so this can be used in a blog.

This is not a new trick, sorting a table using the DOM. However, this mini-library has two nice attributes; the first is, unsurprisingly, that it follows my principles of unobtrusive DHTML, as you'll see below. The second is that, as mentioned above, it knows how to sort a variety of different data types, and it works them out for itself -- you don't have to tell it.

To comment on this article Register for Free.
Make Money adding your own bookmarks and articles.
Earn extra money bookmarking your articles here...

Free Internet TV Channels
On Writing Online
High Yield Times


Website: http://www.kryogenix.org/code/browser/sorttable/


Comments

Post new comment

  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text. URLs will automatically be converted to links.
  • Allowed HTML tags: <p> <br> <b> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <span> <object> <param> <embed> <table> <tr> <td> <div>
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

Join Xomba Today

Do you like to write? Would you like to make a little extra money on the side? These people do. Join the Xomba community today.
Become a Member