Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Without changing the current Ext JS code your only option is to set applyLoader:false in the root loader and specify loaders in the child node attributes.

    ps. Shouldn't the correct fix be:
    Code:
    Ext.override(Ext.tree.TreeLoader, {
    	createNode : function(attr){
    		if(this.baseAttrs){
    			Ext.applyIf(attr, this.baseAttrs);
    		}
    		if(this.applyLoader !== false && !attr.loader){
    			attr.loader = this;
    		}
    		if(typeof attr.uiProvider == 'string'){
    		   attr.uiProvider = this.uiProviders[attr.uiProvider] || eval(attr.uiProvider);
    		}
    		if(attr.nodeType){
    			return new Ext.tree.TreePanel.nodeTypes[attr.nodeType](attr);
    		}else{
    			return attr.leaf ?
    						new Ext.tree.TreeNode(attr) :
    						new Ext.tree.AsyncTreeNode(attr);
    		}
    	}
    });

  2. #12
    Ext User
    Join Date
    Oct 2008
    Posts
    2
    Vote Rating
    0
    manna is on a distinguished road

      0  

    Talking


    Hi Condor, thanks that did the trick!

  3. #13
    Sencha User trasherdk's Avatar
    Join Date
    Dec 2008
    Location
    Thailand
    Posts
    42
    Vote Rating
    1
    trasherdk is on a distinguished road

      0  

    Thumbs up Thanks. That just did it.

    Thanks. That just did it.


    Cool.

    I've been struggling with this for the last week. This really did hit the spot.

    Thanks a lot.

  4. #14
    Ext User
    Join Date
    May 2009
    Posts
    2
    Vote Rating
    0
    samson85 is on a distinguished road

      0  

    Default


    As of ExtJS 3 this misbehavior is still present. Are there any plans to change this?

  5. #15
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    I'll move this thread to the 3.0 Bugs section.

  6. #16
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,846
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Fix applied to svn in rev #5440 for patch release 3.0.3.

    Fix also applied to the 2.x branch.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!