-
28 Oct 2008 7:45 AM #11Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
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); } } });
-
30 Oct 2008 12:56 AM #12
-
8 Aug 2009 2:59 AM #13
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.
-
1 Oct 2009 6:08 AM #14
As of ExtJS 3 this misbehavior is still present. Are there any plans to change this?
-
1 Oct 2009 6:35 AM #15Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
I'll move this thread to the 3.0 Bugs section.
-
1 Oct 2009 6:52 AM #16
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!
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote