-
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
Keep groups collapsed when editing (feature request) #514
Comments
Hi @terwarf! Thanks for reporting the issue with the It'll take a bit more work, but I'll try to include a save option as well. |
Hi Mottie, sadly i have to report that this still not works properly for me - maybe because I use more widgets? I've updated the fiddle to reflect more of what I'm doing with tablesorter:
To test:
Am I missing something? Thank you again for this great plugin. |
The problem is that the So, in this demo I added a span after the "group-name" element and everything works great. group_callback : function(cell, rows, column, table) {
if( cell.find(".group-name").text() !== '' ) {
cell.find(".group-name").after( '<span class="group-name2"> - somevalue</span>' );
}
} Please leave this issue open, so it will remind me to do the saving of group names after the callback. :P |
Thanks a lot, working perfectly for me now. Thumbs up. |
Hi Mottie,
thanks a lot for fixing #487, works like a charm for me.
There's one additional wish from me:
When you have some groups collapsed and edit a row in another group, all groups extend again - on long lists this mean you'll lose focus on the row.
Would be very nice to keep collapsed groups collapsed.
On fiddeling around I also noticed that setting group_collapsed leads to an empty table.
To try out:
The text was updated successfully, but these errors were encountered: