Thanks for that, Although our data wasnt xmlbased the concept of what you have done is interesting and useful.
tks --- In flexcoders@yahoogroups.com, "sreeni_r" <[EMAIL PROTECTED]> wrote: > > Hi, > > I had posted a implementation of IHierarchicalData called FlatXMLHD > > which coverts the kind of flat data (XML) you have mentioned into > hierarhcical format. > > The code and sample is available here > > http://flexpearls.blogspot.com/2007/12/hierarchicaldata-from-flat- > xmllist-data.html > > -Sreenivas > > --- In flexcoders@yahoogroups.com, "reflexactions" <reflexactions@> > wrote: > > > > Thanks for the response, > > In the end the solution was to manually build the hierarchical > > structure on the client from the flat array and then set it into the > > ADG using a HierarchichalData object. > > > > This was further complicated because initially I was setting an empty > > structure into the ADG and then updating it using data binding when > > the data was downloaded. This doesnt work! Regardless of what you > > invalidate or refresh the ADG just won't update, the only option is > > to reset the dataProvider each time. > > >