That is VERY cool. And I like the way you use grouping in this app as well. Much appreciated.
Jack --- In flexcoders@yahoogroups.com, "Amy" <amyblankens...@...> wrote: > > --- In flexcoders@yahoogroups.com, "Jack OMelia" <lomelia@> wrote: > > > > Without the headerReenderer I am able to use > > {repeatername.currentitem.datanode}in the label field of the Canvas but as > > the headerRender property is part of the Accordion and not the Canvas (and > > outside the repeater) I can't do that. I tried {data.datanode} but that > > didn't work. > > > > I suppose I could manually loop through the xmllistcollection and populate > > it that way? I probably should have tried that last night but I guess I was > > tired and wasn't thinking straight. I'll give it a shot and let you know. > > There's an example of using a Repeater in Accordion here: > > http://flexdiary.blogspot.com/2008/09/groupingcollection-example-featuring.html > > Note that this takes the idea a step forward...there's no need to repeat the > same content for each Accordion "section", because you can only see one at a > time. So this only creates one and "rehomes" it when a new header is clicked. > > -Amy >