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.

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Milan
    Posts
    5
    Vote Rating
    0
    s.gatti is on a distinguished road

      0  

    Default Interactive elements on TreeNode

    Interactive elements on TreeNode


    Hi.

    I have a tree with nodes taken up from a DB query, developed in ExtJs 3.4.0.

    I need to append to every treenode three strings: "add", "del", "mod", and make them clickable to permorm different action.
    "add" should add a child node to the clicked one.
    "mod" should let the user modify the node, opening an appropriate UI.
    "del" should delete the node and any child node.

    Is there any way to perform described action using ExtJs 3.4.0?

    Thank you.
    Stefano

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

      0  

    Default


    Hi Stefano,

    Did you find a solution? I want to do approximatively the same thing.

    Regards.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    Milan
    Posts
    5
    Vote Rating
    0
    s.gatti is on a distinguished road

      0  

    Default


    Unfortunately, I haven't.
    I did with a context menu which opens at right click.
    Not exactly what I intended to do, but it works as well.

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

      0  

    Default


    I have just found something that could help :
    To manipulate client side interface of tree nodes there is this :
    Code:
    treenode.getUI()
    where you can find interesting methods like: getEl() and getAnchor().

    And then you can add HTML to the node, for example:
    Code:
    Ext.DomHelper.append(tree.root.firstChild.firstChild.getUI().getAnchor(), '<p>hi</p>');
    I hope this helps.

Thread Participants: 1