sridhars711 / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Decide, what to do if a selected node is hidden #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Collapsing a branch that contains the selected node could 
 * do nothing
 * unselect the node
 * select the parent node

Original issue reported on code.google.com by moo...@wwwendt.de on 30 Aug 2008 at 12:30

GoogleCodeExporter commented 9 years ago
or
 * do nothing, but send a onCollapse() event, do let user decide

Original comment by moo...@wwwendt.de on 1 Sep 2008 at 8:59

GoogleCodeExporter commented 9 years ago
See r52.
When a selected node is hidden (because parent is collapsed), we unselect it.
A new event 'onUnselect' was added.

The new tree option 'selectionVisible' can be set to 'false', to overide this 
behaviour.

Original comment by moo...@wwwendt.de on 14 Sep 2008 at 7:23

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:12