[jQuery] Re: TableSorter, Turning Sort Off

2009-01-23 Thread webchetan
How can I mainitain TableSort on subsequent postbacks. Basically I sort a table using tablesorter() and when I click on Page# 2 in GridView (ASP.NET) the sorting doesn't persists. Is there anyway I can store the sorting values actross pages? Thanks On Jan 23, 11:21 am, jay wrote: > I amend wh

[jQuery] Re: TableSorter, Turning Sort Off

2009-01-23 Thread jay
I amend what I said. A hashtable is not necessary for going from row number to unique id, an array is fine. Going from unique id to row number, however, is necessary. On Jan 23, 11:16 am, jay wrote: > If you just postback the page, the table should be restored to the > original state.  Otherwi

[jQuery] Re: TableSorter, Turning Sort Off

2009-01-23 Thread jay
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 th