If you just postback the page, the table should be restored to the original state. Otherwise, if you have a unique id for each row you could try creating a hash table which returns the unique id based on the row number (create the hash table when page is first loaded). Then you could just loop through the row numbers and insert each TR based on the unique id that is returned using the DOM. As for turning it off, you could simply save the old TH event handlers and replace them with function(){return false;} temporarily.
On Jan 23, 10:56 am, NRutman <nathan.rut...@gmail.com> wrote: > Hello, > > I'm considering using the TableSorter plugin (http://tablesorter.com) > for one of my projects, but I need to reconcile one thing: does anyone > know how I can revert the sort back to the original? Or even, how to > turn the sort-state to OFF, so that no header is selected and it > doesn't try to sort? That way I could at least reload the table from > the original data array. > > Any suggestions? > > Thanks, > -Nate