Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    28
    Vote Rating
    2
    chenjie100 is on a distinguished road

      0  

    Default [4.1 RC1]Add child node to a treenode, the parent node does not display plus sign.

    [4.1 RC1]Add child node to a treenode, the parent node does not display plus sign.


    Ext version tested:
    • Ext 4.1 RC1
    Browser versions tested against:
    • Firefox 11
    • Chrome 17
    Description:
    • Add child node to a treenode, the parent node does not display plus sign..
    Steps to reproduce the problem:
    • create a new tree with a root node
    • click button to append child node to the root node
    The result that was expected:
    • the root node show plus sign
    The result that occurs instead:
    • the root node does not show plus sign
    Test Case:

    Code:
     var button=new Ext.button.Button({
    id:"button1",renderTo:Ext.getBody(),text:"button1",listeners:{click:function(button,event,options){
    treePanel1.getRootNode().appendChild({text:'test'});
    }}
    });
    var tree=new Ext.tree.Panel({
    id:"treePanel1",height:600,animate:false,root:{text:'abc',children:[],expanded:true},width:200,renderTo:Ext.getBody()
    });

    Screenshot or Video:

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,078
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This has been corrected in the latest release (RC2) Nightly Build.

    Regards,
    Scott.

Thread Participants: 1

Tags for this Thread