I am using the jQuery plugin TreeTable in a similar manner mentioned in blog entry A jQuery tree table for Wicket .
What I want to do now is attaching some JavaScript code in an expand all / collapse all button(s).
The following code doesn’t seem to work.
$(".treeTable").treeTable().expand();
And also
$(".treeTable").treeTable();
$(".treeTable").expand();
Very nice challenge.
I’ve built an ‘expand all’ feature (because it doesn’t have it). Here you have it:
To use it, just do:
I hope this helps.