Hello,
Is there a way to render the json-tree-view initially collapsed?
I tried simply adding 'true' as a parameter to
item.prepend(collapser( true ));
That changes the direction of the triangle because the collapsed class gets added,
but the ul children aren't hidden.
That only seems to be done in the on click handler.
Even doing the above, that would require me to change your source.
Is there a way to do it programmatically from my code?
Thanks
David
Hello,
Is there a way to render the json-tree-view initially collapsed?
I tried simply adding 'true' as a parameter to
item.prepend(collapser( true ));
That changes the direction of the triangle because the collapsed class gets added,
but the ul children aren't hidden.
That only seems to be done in the on click handler.
Even doing the above, that would require me to change your source.
Is there a way to do it programmatically from my code?
Thanks
David