-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
widget - static row #120
Comments
Cool nice find! |
Added an updated static row widget which works on tables with multiple tbodies and allows dynamic updating of the row index. |
how about the possibly of setting the 'static' row by double clicking on it? |
Hey @thezoggy! Try this (demo): $(function () {
$('table').tablesorter({
theme: 'blue',
widgets: ['zebra', 'staticRow']
});
$('tr').dblclick(function(){
$(this).toggleClass('static');
$('table').trigger('staticRowsRefresh');
});
}); Odd... I noticed that sometimes when I sort, the widgets aren't being updated. I think it's the code to prevent multiple consecutive "applyWidgets". |
demo works great, nice |
Found this yesterday while browsing:
http://asciisoup.wordpress.com/2011/02/20/static-rows-widget-for-jquery-tablesorter/
https://github.com/ascii-soup/Tablesorter-Static-Row-Plugin
I have not tested it out, but figured I'd pass it along here since I haven't seen you on irc.
The text was updated successfully, but these errors were encountered: