My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 197: new select mode to allow for all children to be selected but not the branch
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Oct 2013


 
Reported by oll...@gmail.com, May 11, 2011
What new or enhanced feature are you proposing?
right now, if you select all children of a branch, the branch then gets selected. If you try to unselect the branch, then all the children get unselected as well. It would be nice to be able to select all children but not the branch automatically.

What goal would this enhancement help you achieve?
I could delete all children from dynatree without deleting the parent.

May 11, 2011
Project Member #1 moo...@wwwendt.de
> right now, if you select all children of a branch, the branch then gets selected. 
> If you try to unselect the branch, then all the children get unselected as well. 
This only happens in select mode 3.

> It would be nice to be able to select all children but not the branch automatically.
You can use the visit() API method to call a function for every child node:
    node.visit(fn, includeSelf)
In order to select or otherwise modifiy the children.

I don't know how this is related to deleting of nodes, but you could use 
    node.removeChildren()
for this.

You may then implement event handlers (onKeydown, onClick, onDblClick, ...) to provide a user interface for your functionality.
Status: Waiting
Oct 6, 2013
Project Member #2 moo...@wwwendt.de
Closing 'Waiting' issues without timely answer
Status: Done
May 2, 2014
Project Member #3 moo...@wwwendt.de
Cleanup Scrumboard
Labels: Milestone-Release2.0

Powered by Google Project Hosting