I have a page with 2
dynamic trees (the XML is pulled dynamically from a database using a PHP file -
tree and tree2). There is also an unrelated hidden iframe at the bottom
of the page for some ajax purposes. In this IFrame I�m manipulating the
trees based on certain conditions.
The tree visually looks like:
Test1 itemId = 000002|006cr0
Test2 itemId = 000002|004bc1
Calling these command works fine.
It deletes Test2, refreshes/open/selects Test1 as you would expect:
However, I would much rather just refresh the
entire tree. I tried doing parent.tree.refreshItem(),
parent.tree.refreshItem(0), and parent.tree.refreshItem(�0�). None of
that worked. Instead the tree was completely empty and apparently the XML
wasn�t re-retrieved from the server. Maybe I�m missing something.
Any idea how to make the entire tree refresh from the server? Thanks!