Results 1 to 2 of 2

Thread: Can I preload hidden treenodes???

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Moscow
    Posts
    137

    Default Can I preload hidden treenodes???

    I need to load hidden nodes into the treepanel, to show them a little bit later. How can this be done? I use :
    Code:
                loader : new Ext.tree.TreeLoader({
                    preloadChildren : true
                }),
    But it only works if nodes are visible. If they are hidden - nothing loads, except the root node...
    Can someone help me?

  2. #2
    Sencha User Mycoding's Avatar
    Join Date
    May 2010
    Location
    Russia, Volgograd
    Posts
    460

    Default

    Actaully I always set static data in treepanel cause dynamic tree is needed only in
    very big and if data permamanet is being changed.

    Look at API of ExtJS.
    It is used static tree data.

    If you still need dynamic treepanel please provide workable code that needs to be fixed.

Posting Permissions

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