[CLOSED] treePanel.getRootNode().cascadeBy

  1. #1

    [CLOSED] treePanel.getRootNode().cascadeBy

    Hi!

    I'm using the cascadeBy function to navigate in all nodes of treePanel.
    I wish adding cls of some nodes. But 'this' return a record data instead of node component.
    How I can get the node componente and call addCls function???

    thanks for any help!
    Last edited by Daniil; Apr 03, 2013 at 1:54 PM. Reason: [CLOSED]
  2. #2
    Hello!

    You should use getNode method: http://docs.sencha.com/ext-js/4-2/#!...method-getNode

    App.TreePanel1.getRootNode().cascadeBy(function(node) { console.log(App.TreePanel1.getView().getNode(node)); } )
  3. #3
    Hi Baidaly

    Thanks a lot for your help! Works very fine.

Similar Threads

  1. [CLOSED] Drag and drop from treepanel to treepanel in "copy" mode
    By mattwoberts in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 14, 2011, 6:45 PM
  2. Replies: 5
    Last Post: Mar 23, 2011, 9:57 AM
  3. Replies: 2
    Last Post: Jul 30, 2010, 12:37 AM
  4. Dynamically changing Treepanel other Treepanel
    By airforcz in forum 1.x Help
    Replies: 0
    Last Post: Jun 16, 2010, 8:33 AM

Posting Permissions