Changes between Initial Version and Version 1 of Ticket #5572


Ignore:
Timestamp:
Jan 12, 2008, 11:34:49 AM (13 years ago)
Author:
bill
Comment:

Does this reproduce for you with http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Tree_Notification_API_Support.html? Because it's working for me (when adding a new child to node1, at least on safari. If it works for test_Tree_Notification_API_Support.html but fails in your testcase please attach the test file using the "attach file" button. Also, was parent node opened at the time you did the insert?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5572

    • Property Summary changed from Bug adding new nodes to a tree to Tree: Bug adding new nodes
  • Ticket #5572 – Description

    initial v1  
    55For the addition of the node I used a code like:
    66
    7 (The identifier is: numberOfNodes (unique id)
    8 
     7(The identifier is: numberOfNodes (unique id))
     8{{{
    99newRoleItem=selWidget.item;
    1010
     
    1717
    1818treePersonItem=rootWidget.store.newItem(personObj, pInfo);
    19 
     19}}}
    2020
    2121The deletion was done using:
    22 
     22{{{
    2323rootWidget.store.deleteItem(selWidget.item);
    24 
     24}}}
    2525
    2626For example
    27 
     27{{{
    2828parent
    2929  child1
    3030  child2
    3131  child3
    32 
     32}}}
    3333if I add child4, to parent, I see:
    34 
     34{{{
    3535parent
    3636  child4
    37 
     37}}}
    3838if I delete child4 I see again:
    39 
     39{{{
    4040parent
    4141  child1
    4242  child2
    4343  child3
    44 
     44}}}
    4545
    4646   Eduardo