Results 1 to 2 of 2

Thread: Dynamic treenode children via function call

  1. #1
    Ext JS Premium Member
    Join Date
    Jan 2010

    Default Dynamic treenode children via function call

    There is an example that show how to load treenode children using a function instead of proxy?
    The function should build an return children based on application logic
    I want to call the function when a node with no children is clicked.
    Thanks in advance

  2. #2
    Sencha User
    Join Date
    Feb 2013


    I don't think the tree can be configured to work that way. You'd have to override to get that functionality. Perhaps someone in the community has an example of this they will share.

Similar Threads

  1. TreeNode cascade function does not find unrenderd children
    By forumuser1080 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 22 Mar 2012, 6:25 PM
  2. [CLOSED][3.??] TreeNode.appendChild() with children
    By Gonfi in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 16 Aug 2009, 12:50 PM
  3. How to call function with dynamic name?
    By Stju in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 Aug 2009, 6:07 AM
  4. Need help loading treeNode with children data
    By simeon in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 21 Mar 2009, 8:35 PM
  5. Ext.tree.TreeNode removing all children.
    By Animal in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 25 Aug 2007, 5:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts