3 Replies Latest reply on Nov 25, 2007 10:59 AM by ntsiii

    Data for a tree.

      Hi, I'm hoping someone can point me in the right direction.
      I have a flex app that pulls in around 400 objects from a webservice built in .net
      I am currently storing the objects in an array collection. The objects have the following vars

      I would like to show the data hierarchically in a tree component based upon the object's parentID.

      My question is firstly is it possible on the flex side? And secondly, would I be better dusting of my .net hat and changing the web service to loop through the data and return the correct hierarchy in xml from that end.
      I would much prefer doing this in flex but am a bit worried of the overhead from constantly looping through the array collection every time a node in the tree is opened.
      Any idea or thoughts much appreciated.