Hi there,
First of all, this library is awesome and it has no competitive libs. Well done mate!
I ran into a case where I needed to collapse all nodes including the root one. Sadly the root node is not collapsible, because this condition
if(this.level != 1)
this.hide();
Would it be possible to add an option, something like collapseRootNode: true/false?
The reason, why it would be awesome is when you have a table (grid) and one of the columns is json, it's not possible to collapse it, so the row column is huge instead of just "{....}".

Thanks in advance!
Hi there,
First of all, this library is awesome and it has no competitive libs. Well done mate!
I ran into a case where I needed to collapse all nodes including the root one. Sadly the root node is not collapsible, because this condition
Would it be possible to add an option, something like collapseRootNode: true/false?
The reason, why it would be awesome is when you have a table (grid) and one of the columns is json, it's not possible to collapse it, so the row column is huge instead of just "{....}".
Thanks in advance!