Don't put multiple items in your item renderer. Each item in your lists data provider should have its own item renderer.
--- In [email protected], "hr1ny" <hrabinow...@...> wrote: > > I'm trying to create a List with an ItemRenderer that switches to an > ItemEditor depending on where in the ItemRenderer (what subcomponent) is > clicked, but I'm not sure how to do this. > Essentially, I'd like to go into edit mode if user clicks on a data > field, but to do nothing (other than select the item) if user clicks > elsewhere in the item. (Imagine that the ItemRenderer contains some > icons, buttons, and empty space as well as data fields). > I would think that the trick is to use the itemEditBeginning event > handler (and in certain cases call event.preventDefault()), but this > event does not know about subcomponents of the ItemRenderer, and > subcomponents of the itemRenderer don't know about this event. > --Henry >

