Unanswered: hiding open arrow for childless folder in TreePanel
Unanswered: hiding open arrow for childless folder in TreePanel
Hi. I'm using a TreePanel to create a tree of effectively folders, as I want each node in my hierarchy to be able to own other tree nodes. While this works fine if each node sets "leaf:false" it does mean that empty folders still show the 'open' arrow. Is there a way to hide this arrow for an empty folder? I still want to be able to drag folders into this folder, but it looks a bit silly if the user tries to open an empty folder.
Nope. If I add expanded:true or loaded:true (or both) it forces the node to be displayed as a leaf, even though i've specified leaf:false
Basically I want everything to be displayed as a folder, but for empty folders to have no open/close icon