tablesorter
tablesorter copied to clipboard
Introduced hierarchical sorting.
DONE:
- hierarchical sorting on a regular widgetless table.
- fixed the widgets when you're not using hierarchical sorting.
TODO:
- Make the css classes used to define the hierarchy customisable.
- Test/define/implement how the widgets work when you're using the hierarchy.
Example: http://steenreem.github.io/tablesorter/docs/example-tree-table.html
have a screen shot or demo of this up anywhere?
Here an example: http://keyboarddrummer.github.io/tablesorter/docs/example-tree-table.html
Doh, I broke the auto merge... oh well. I'll start looking at your work for the next update :)
Thanks again for all your hard work.
Hey Remy!
Sorry, I've been too busy with other projects and minor updates that I haven't gotten around to incorporating this enhancement.
I've been considering adding this as an extension instead of incorporating it into the core since it makes changes to the cache, and the work I have locally for the upcoming version 3 also significantly changes the cache.
So where's the code for version 3? Is that the development branch? I could also apply my commits based off of your development branch.
On Sun, Nov 17, 2013 at 12:37 AM, Rob G [email protected] wrote:
Hey Remy!
Sorry, I've been too busy with other projects and minor updates that I haven't gotten around to incorporating this enhancement.
I've been considering adding this as an extension instead of incorporating it into the core since it makes changes to the cache, and the work I have locally for the upcoming version 3 also significantly changes the cache.
— Reply to this email directly or view it on GitHubhttps://github.com/Mottie/tablesorter/pull/410#issuecomment-28638685 .
Hey Remy!
The version 3 code I've been working on, I only have locally... and it hasn't been updated with all the changes made recently :unamused:
The development branch was needed to make a version of the plugin that would work with Zepto... I'll try to update the development branch more in the future to more closely match what I have done in version 3. Sorry, it's been really slow going for me - finding time, motivation and no other distractions :P
Was this ever merged anywhere else or is this a dead PR?
Hi @michaelh99!
It's not dead. It's still open for reference. This won't get integrated until after this fork of tablesorter gets rewritten, and renamed to Abelt - I just need more free time :disappointed:.
Hi @michaelh99!
I am nearly new in JQuery and trying to use hierarchical sorting in my project. Unfortunately, sorting only working on the parent rows not the child rows. I have followed what is described here. But no luck. I followed the following steps for hierarchical sorting - Included jquery.treetable.js file Added -
$(".tablesorter")
.tablesorter({
theme : 'blue'
})
.treetable({ expandable: true});
And my parent rows have class data-tt-id and child rows have class data-tt-parent-id. I am getting all the class id's dynamically.
Other tablesorter files like - jquery.tablesorter.js have in my project.
Could you please help me to solve this issue please.
Thanks
Hello guys, have some ideas when this pull request will be merged (had the same issue and spend a full day to find the solution, but eventually Remy already fixed it)?
Hi @igorrebega!
I plan to implement something similar to this if and when I ever get around to rewriting the plugin. As it stands now, it would require a big change to the internal cache that would break backward compatibility. So that's why I'm putting it off until the rewrite.
Any updates on this? It would be really cool to have it, as the demo looks very cool!
Or would any of the other solutions be easier to implement? https://github.com/search?l=JavaScript&q=treetable.js&type=Repositories