bind the isBranch = {yourobject.haschilderen} or create your own TreeDataDescriptor by implemnting the ITreeDataDescriptor interface
--- In flexcoders@yahoogroups.com, "Dan Vega" <danv...@...> wrote: > > I don't think its just icon though is it? It needs to be a branch with an > arrow next to it so that you can click on it to expand the folder. > > Thank You > Dan Vega > danv...@... > http://www.danvega.org > > > On Thu, Dec 18, 2008 at 2:43 PM, Fotis Chatzinikos < > fotis.chatzini...@...> wrote: > > > use iconFunction="yourFunction()" where yourfunction checks your isLeaf > > variable and assigns a folder or leaf icon > > > > > > On Thu, Dec 18, 2008 at 9:07 PM, Dan Vega <danv...@...> wrote: > > > >> but not every folder will be a branch, only those who have children. I > >> can set the default leaf icon to a standar folder but I am stuck on how to > >> treat branches using my example. > >> > >> > > > > > > -- > > Fotis Chatzinikos, Ph.D. > > Founder, > > Phinnovation > > fotis.chatzini...@..., > > > > >