jQuery tablesorter plugin for data grids

I was searching for a new simple jQuery table plugin, only with sorting function. I came across a few. Testing a plugin should happen quickly. The plugin should be thrown out if it is not working even after 15 minutes! I neglected a few those malfunctioned when I tested.  I came across another plugin tablesorter


Here is how I’ve added my table.

Added the below scripts.


Made suitable amendments on the following

  1. id
  2. class
  3. added thead and tbody tags

<table id="expenseList" class="tablesorter">

And finally,

$(document).ready(function() {


(c) https://3monthsinindia.wordpress.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s