GIGJ.COM
welcome to my space
X
Welcome to:gigj.com
Search:  
NAVIGATION: Home >>
TreePanel , listener on expand
Published by: admin 2010-03-17

  • OpenSwing Framework::
    is based on the class org.openswing.swing.tree.client.TreePanel which derives (ActionListener listener) – add an ActionListener to listener events fired
    http://oswing.sourceforge.net/gui3.html
    HOME
    How can i add a listener on expanding a node in a treePanel,
    I made :



    var tree = new Tree.TreePanel({
    Ext.Viewport - FAN의 환상마을 - 야후! 블로그::
    xtype: treepanel, width: 200, autoScroll: true, split: true, loader: new Ext.tree.TreeLoader listeners: { click: function(n)
    http://kr.blog.yahoo.com/adoria74/1004.html
    HOME
    el:'tree-div',
    title : 'Catgories',
    useArrows:true,
    autoScroll:true,
    animate:true,
    enableDD:true,
    containerScroll: true,
    width: 200,
    // auto create TreeLoader
    dataUrl: 'http://silex2/bodytech3/xml/getcat.php?action=getCatTree',
    Gwadanina Rss Items by Sanjiv Jivan::
    GWT-Ext on the other hand will continue to grow and expand with other library GWT-RPC call and build a TreePanel yourself by iterating over the returned data.
    http://gwadanina.net/rss/author/Sanjiv_Jivan/
    HOME
    style : 'margin-right:5px;font-size:18px;',
    root: {
    nodeType: 'async',
    text: 'Catgories',
    draggable:false,
    id:'source'
    php.doc.cvs: cvs: doc-editor / TODO index.php /js main.js main_min.js ::
    extension, - bodyBorder: false, - listeners: { - scope: this, - render: expand(); var t = FilePath.split(/); - function GoToNode(node, scope)
    http://news.php.net/php.doc.cvs/4097
    HOME
    },
    listeners:
    {
    click: function(node)
    {
    alert(node.attributes.id);
    },
    expand: function(node)
    {
    alert(node.attributes.id);
    }
    }
    });


    Clicking is working but not expand.
    What's wrong?


  • up


  • Nevermind, the event is called "expandnode", it's working now...





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks

    PRINT Add to favorites
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about TreePanel , listener on expand , Please add it free.

    About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 gigj.com All Rights Reserved
    Site made&Support support@gigj.com    E-mail: web@gigj.com