Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Distinguishing iconclickhandler from labelclickhandler

$
0
0
Hi,

I have a Label with an Icon added to it (with label.setIcon(src)). I have clickhandlers set on both the label and the icon. But clicking on the icon also triggers the label clickhandler. Is there a way to distinguish the two?
I need to handle the two separately - label click as a selection and icon click as a delete request of the label.

I am using SmartGwt Pro 5.0p.

Thanks.

Viewing all articles
Browse latest Browse all 4756

Trending Articles