If you are using Intenet Exploder- uh Explorer, then you may have a problem.
I too have found that the tree widget eats a LOT of ram..
It seems that IE has a real problem with nested layers..
and the way the tree widget is built is ALL wrong..
Example.
<ROOT>
<BRANCH1>
<LEAF1>
<Sub LEAF 1>
ect...
</Sub LEAF 1>
<Sub LEAF 1>
ect...
</Sub LEAF 1>
<Sub LEAF 1>
ect...
</Sub LEAF 1>
</LEAF1>
</BRANCH1>
<BRANCH1>
<LEAF1>
</LEAF1>
</BRANCH1>
<BRANCH1>
<LEAF1>
</LEAF1>
</BRANCH1>
</ROOT>
The result is that you have one layer containing X layer where X is the
number of root branches.
Each Root branch hold Y layers where Y is the number of Leafs for that
branch and so on..
I found that When I implemented the tree on my clients site (demo copy of
course)
Each load was taking 2 or more megs of ram. This is unacceptable.
(at 40 megs IE acts REAL wonkey)
----- Original Message -----
From: "Ivo Stefanov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 3:39 PM
Subject: [Dynapi-Help] HELP !!!
> Well I have tryed it all... DeleteAllChildren, RemoveFromParent and
> everithing else but when I create a tree widget and thenm go to another
page
> the vertual memory used by the browser increases...
>
> if I keep doing that the memory usage keeps increasing...
>
> this is what I am doing
>
> onUnload=function() {
> var i = DynAPI.document.children.length-1
> for (var ix=i; ix==0; ix--) DynAPI.document.children[ix].removeChild()
> }
>
> or this
>
> DynAPI.Unload=function() {
> this.document.deleteAllChildren()
> }
>
> but it does not do it !!! Help !!!
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help