pkt1583 / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

TreePanel destroy bug #451

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
If you try to do a rootNode.destroy(); followed by a treePanel.destroy(); 
(and the treePanel has the rootNode as its root node) then we will have a 
javascript problem in web mode:
this.childNodes.lenght is null or not an object.

Please either put this into the TreePanel documentation, letting we users 
aware that we cannot do this, or fix this behavior.

Example code to have this behaviour is attached.
Just right click in the tree panel to have the error (WEB mode only).

Related forum thread:
http://gwt-ext.com/forum/viewtopic.php?f=8&t=3235

Thanks!

Original issue reported on code.google.com by micg...@gmail.com on 7 Nov 2008 at 10:17

Attachments:

GoogleCodeExporter commented 8 years ago
Thx for the info... Will try to incorporate soon...

Original comment by mlim1...@gmail.com on 30 Dec 2008 at 9:26