Loading ...
Sorry, an error occurred while loading the content.

How to reset TreeView

Expand Messages
  • harrivainola
    How to reset or clear TreeView? I tried this one ... but despite that program gets slower and slower. It suppose old nodes are in the memory.
    Message 1 of 2 , Jul 2 5:52 AM
    • 0 Attachment
      How to reset or clear TreeView?

      I tried this one
      > tree.removeChildren(tree.getRoot());

      but despite that program gets slower and slower.
      It suppose old nodes are in the memory.
    • harrivainola
      My fault. It works correctly.
      Message 2 of 2 , Jul 3 10:56 PM
      • 0 Attachment
        My fault. It works correctly.


        --- In ydn-javascript@yahoogroups.com, "harrivainola"
        <harrivainola@...> wrote:
        >
        > How to reset or clear TreeView?
        >
        > I tried this one
        > > tree.removeChildren(tree.getRoot());
        >
        > but despite that program gets slower and slower.
        > I suppose old nodes are in the memory.
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.