[jQuery] Tablesorter sort all / sort current.

[jQuery] Tablesorter sort all / sort current.


I'm using tablesorter to display a list of my search results.
I want to be able to sort the viewable results or (depending on whether a
checkbox is checked) go back to my app and sort all of the results.
For example, say I have 2 columns. columnA and columnB.
The user performs a search and finds 1000 records. (I obviously dont want to
load all of these for performace resaons)
So I show the top 20 search results which are initially sorted by columnA.
If the user then decides to sort by columnB tablesorter will sort these 20
results, however I want a way to override this behaviour and select the top
20 results from the 1000 found ordered by columnB. ie I want the option of
getting back to my app when the header is clicked instead of just sorting
the viewable results.
Is there some sort of 'beforeSort' method I can call, similar to JQuery
Form's 'beforeSubmit' property?
--
View this message in context: http://www.nabble.com/Tablesorter-sort-all---sort-current.-tp24511276s27240p24511276.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.