Yes, I agree with the later. But in case, I have an excuse :) I have built a custom renderer for my Tree which has been described in another tread. This renderer would have a couple of checkboxes for some nodes. When a user selects the node I need to know what checkboxes are checked. The easeast way is just to get that from the current renderer, but the right way is to have an underlying data which is what I edded up with.
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <tr...@...> wrote: > > Also, the renderer will be the event.target. > > > > But be sure you really need this. Such questions usually indicate > misunderstanding itemRenderers. There are few use cases where a reference > to an itemRenderer is useful. > > > > Tracy Spratt, > > Lariat Services, development services available > > _____ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Yves Riel > Sent: Wednesday, April 29, 2009 3:40 PM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Access Tree's current item renderer > > > > > > > > > The ListEvent return from the itemClick event contains a property called > itemRenderer. > > > > _____ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of markgoldin_2000 > Sent: Wednesday, April 29, 2009 10:15 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Access Tree's current item renderer > > when I click on Tree's node how can I access the underlying item renderer? > > Thanks >