Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    31
    Vote Rating
    0
    yo_haha is on a distinguished road

      0  

    Default TreePanel children and nodes

    TreePanel children and nodes


    Hi,

    I have a TreePanel which I fill by setting children to its root:
    Code:
    root: {
                nodeType: "async",
                expanded : true,
                children: [{
                        text: 'Child 1',
                        checked: true,
                        draggable: false,
                        leaf: false,
                        expanded: true,
                        singleClickExpand: true,
                        children: [{
                            text: 'Child 1.1',
                            draggable: true,
                            checked: true,
                            leaf: true
                      } ...
    When I try to reach the tree children by
    Code:
    tree.root.firstChild;
    I get a null object.
    The same thing with
    Code:
    tree.root.ChildNodes
    However, the method
    Code:
    tree.root.hasChildNodes()
    returns true.
    Do you have an explanation?

    Regards

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    31
    Vote Rating
    0
    yo_haha is on a distinguished road

      0  

    Default


    Code:
    tree.getSelectionModel().select(tree.getRootNode());
    tree.selectPath(tree.getRootNode().getPath('text'), 'text');
    retun
    Code:
    TypeError: Ext.fly(node.ui.wrap) is null
    and getChildAt() doesn't exist. I'm using ExtJs 3.4. I'm sorry I didn't specify it from the beginning.

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,862
    Vote Rating
    438
    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


    Moved to Ext3 forums.

Thread Participants: 2

Tags for this Thread