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 82: Folder selection on initialization fails
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  ----
Closed:  Mar 2009


 
Reported by katy.sm...@gmail.com, Mar 13, 2009
What steps will reproduce the problem?
1. Create a dynatree with selectMode : 3 (=checkboxes)
2. Create a <li> structure for transferring your data
<ul id="treeData" style="display: none;">
        <li id="id1" class="selected folder">Blue
        <ul>
                <li id="id2">Light blue
                <li id="id3">Dark blue
        </ul>
        <li id="id4" class="selected folder">Black
</ul> 


What is the expected output? What do you see instead?
The expected output : a tree with two selected folders, and two selected
childs.
What you see : nothing is selected


What version of the product are you using?
rc 4.0
On what operating system and browser?
Windows Vista, Firefox





Mar 14, 2009
Project Member #1 moo...@wwwendt.de
Assuming selectMode: 3 (multi-hier):
this behaviour is by design:
If a folder has class "selected", and has a child node that is not marked "selected",
then the child is considered 'deselected'.
Deselecting a child will deselect the parent.

Still this feels like a bug.
A node without class='select' should not fire a 'select(false)' event.

When initializing from ojects instead of LI tags, we should distinguish
data.selected: true, false and undefined.
Summary: Folder selection on initialization fails
Status: Accepted
Labels: Milestone-Release0.4.1
Mar 23, 2009
Project Member #2 moo...@wwwendt.de
Fixed with r202
Status: Fixed
Jul 17, 2012
Project Member #3 moo...@wwwendt.de
considered verified
Status: Verified

Powered by Google Project Hosting