Skip to Content
0
Aug 21, 2017 at 01:45 PM

How to prevent table Line item press

102 Views Last edit Aug 21, 2017 at 01:58 PM 2 rev

Hello

I have Table with ColumnListItems for which line item press has been enabled. I also have an icon in every row for which I need to have an press event and on click show some info. If I click on the icon, the info shows up but the Table Line Item press event also gets fired.

How to prevent this bubbling up of the event. I tried with cancelBubble() method on the icon's press event but it dopes not work. Here is a plunker example

https://plnkr.co/edit/k0Ntkgwg8HkbMD0As1GH

Sorry, had to hijack someone else's example.

Any input will be helpful

Regards

Sandip