4 Replies Latest reply on Apr 18, 2007 2:09 PM by JabbyPandaUA

    tree dataProvider

    frenchi30
      Hi all,

      I hope someone can please shed some light on this, I've been trying to figure this out for awhile.
      I want to populate a tree with the data from a Webservice. I can populate the tree no problem when the data is the way the tree is expecting it. My problem is that the data is NOT that way. It is an arraycollection and does not include "children"...

      I've looked at datadescriptors and labelFunctions... and I've looked at creating a new arraycollection with "children" in it, but I am not sure what is the best way of doing this, I am lost... Being a newbie, I would like to know, see or get pointed in the correct direction so I can manipulate my data for the tree to be happy..

      Current arraycollection:
      object1
      __object1-1
      __obj-attribute
      __obj-attribute
      object2
      __object2-1
      __obj-attribute
      __obj-attribute
      etc..

      Anyone, please? thank-you in advance, much appreciated.