king7532
18 Jun 2007, 12:33 PM
Version: Ext-1.1beta1
Adapter: ext-base.js
Error: Ext.data.Tree does not have the method proxyNodeEvent()
Solution:
Ext.tree.TreePanel has
proxyNodeEvent : function(){
this.fireEvent.apply(this, arguments);
}
This method should be moved to Ext.data.Tree
otherwise a tree crated with "new Ext.data.Tree" will produce the above (see subject line) error message when you try to append a node via "node.appendChild()."
I can produce some sample code if necessary.
Benjamin
Adapter: ext-base.js
Error: Ext.data.Tree does not have the method proxyNodeEvent()
Solution:
Ext.tree.TreePanel has
proxyNodeEvent : function(){
this.fireEvent.apply(this, arguments);
}
This method should be moved to Ext.data.Tree
otherwise a tree crated with "new Ext.data.Tree" will produce the above (see subject line) error message when you try to append a node via "node.appendChild()."
I can produce some sample code if necessary.
Benjamin