-
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
Grouping: group_collapsed #1247
Comments
Hi @mtgtnt! Hmm, that looks like a bug. It looks like what happened is when the I'll see if I can find a solution, or at the very least update the documentation. |
Here's a demo... I had to add a reset button to clear out the saved groups before it would behave. |
This is working great for initial load of table. Now the next part is when the table changes, for example with an ajax call. Using .trigger("update") will not collapse the rows. |
If you still have $('.update').click(function() {
// don't pass this function the $table jQuery object
$.tablesorter.grouping.clearSavedGroups($table[0]);
$table.trigger('update');
}); |
I had just put the same thing together and about to post my findings. You beat me to it :) |
A new release is now available! |
when setting group_collapsed: true
it does nothing. Am I missing something?
http://jsfiddle.net/bu3wha9d/
The text was updated successfully, but these errors were encountered: