Issue 160: autoCollapse needs an additional mode
Status:  WontFix
Owner: ----
Closed:  Nov 2010
Reported by prana001, Oct 20, 2010
What new or enhanced feature are you proposing?

Currently autoCollapse can only be set to either true or false.

I would like to see this as: 0, 1 or 2
Something like:

 0 = false  = autoCollapse OFF
 1 = true   = autoCollapse ON
 2 =        = Always Collapse

What goal would this enhancement help you achieve?

The current behaviour for autoCollapse doesn't work as expected.
At least, as I expect it.

When the next folder you click on is empty, the previous opened folder will NOT auto collapse!
E.g. it is the same behaviour as if the next folder was only a document.

From my point of view, regarding Folders, it's either autoCollapse or not regardless of the next Folders state.
Nov 7, 2010
Project Member #1 moo...@wwwendt.de
Could you achieve this behaviour using this pattern?:

onActivate(node){
    node.collapseSiblings()
}
Status: Waiting
Labels: Milestone-Release1.0
Nov 7, 2010
#2 prana001
Yes, this works nicely.
Nov 7, 2010
Project Member #3 moo...@wwwendt.de
(No comment was entered for this change.)
Status: WontFix