Results 1 to 2 of 2

Thread: can't find config items in docs

  1. #1

    Default can't find config items in docs

    In the example for TreePanel, it shows:

        root: {
            nodeType: 'async',
            text: 'Ext JS',
            draggable: false,
            id: 'source'
    and later....

           root: new Ext.tree.AsyncTreeNode({
                expanded: true,
                children: [{
                    text: 'Menu Option 1',
                    leaf: true
                }, {
    I am having problems finding info on the following two config options:


    Does anyone know where to look?

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007


    Yes, they aren't there. They are not strictly configs of TreeNode, or AsyncTreeNode.

    They are used by the TreeLoader when creating a node from JSON retrieved from its configured url, or when creating a node from a passed in configuration object.

    The JSON can specify whether it is to result in the creation of a TreeNode (all children contained within its JSON and no further reading from server), or an AsyncTreeNode (The default which means that it will attempt to load its children from the server at the time you expand it)

    The Loader uses the children property to create and append child nodes.

    I'll have to think about how and where to document this stuff.

Posting Permissions

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