I use the great tablesorter plugin. I need to be able to execute something BEFORE and AFTER the execution of the sort click
How do you ADD a before and after callback method to a plugin that dont have it
I use the great tablesorter plugin. I need to be able to execute something BEFORE and AFTER the execution of the sort click
How do you ADD a before and after callback method to a plugin that dont have it
If it doesn't have it, you'll have to dig into the code and add it yourself. If the project has an open repository, consider submitting your contribution.
Add code to $headers.click(function(e) { .... } inside tablesorter.js file.
I just got an answer from the author :
Hi!
There is an option for zebra stripes.
Example:
$("#tablesorter-demo").tablesorter({widgets: ['zebra']});
Best regards
Christian