[flexcoders] How to prevent selecting List item while clicking button in itemrenderer ?

2008-07-03 Thread Adnan Doric
Hello,

I have a List and an itemRenderer with a button in it.

Actually, each time I click the button, the item is selected in the
list and the change event is triggered (normal).

I would like to be able to click that button inside itemRenderer
without selecting that item in the list.

Basically, when clicking on the button, I just want to remove that
item from the list, without changing the currently selected item in
the list.

Can anyone help me with this ?



RE: [flexcoders] How to prevent selecting List item while clicking button in itemrenderer ?

2008-07-03 Thread Alex Harui
stopImmediatePropagation

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Adnan Doric
Sent: Thursday, July 03, 2008 5:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to prevent selecting List item while clicking
button in itemrenderer ?

 

Hello,

I have a List and an itemRenderer with a button in it.

Actually, each time I click the button, the item is selected in the
list and the change event is triggered (normal).

I would like to be able to click that button inside itemRenderer
without selecting that item in the list.

Basically, when clicking on the button, I just want to remove that
item from the list, without changing the currently selected item in
the list.

Can anyone help me with this ?