I want to use preventDefault in List on "changing" event, but only sometimes.
Imagine you have itemRenderer and inside are few components (let's say buttons) and I want change selection only when I click on some button, for all other clicks I want to use preventDefault. Problem is that in IndexChangeEvent target and currentTarget is always List and not clicked component. Is that ok? I dont have any possibility to find out what was clicked. Thank you for help
Perhaps listen for what was clicked at the List container level, before the event gets to the List and renderer.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Are you clicking on something inside the list or outside?
on button inside ItemRenderer, so it's in List. Change event is dispatched, so it needs to be inside List, right?
Hi, I see that this is an old thread but did you find any solution to this? I'm having the exact same issue.