0 Replies Latest reply on Jan 21, 2007 8:17 PM by Karl Goldstein

    Incremental Loading of a Tree Component

    Karl Goldstein
      I'm working on an explorer-type interface in Flex 2 for browsing a remote file repository. It's a standard split-pane affair with a directory tree on the left and a listing on the right.

      Because the entire directory tree can be rather large, I need to load it incrementally as the user expands nodes rather than all at once. I failed to find a relevant example so I wrote my own. It works, but I'm new to Flex and am not sure if there's an easier way or if there are any pitfalls to the way I did it.

      I posted my code here:

      http://xocoatl.blogspot.com/2007/01/incremental-loading-of-tree-in-flex-2.html

      Any comments here or on the blog are appreciated; I'm guessing that having a good example of the "right" way to do this will be useful to many others.

      Thanks.