Skip to Content

How to prevent table Line item press

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 23, 2017 at 12:18 AM

    sorry Sandip.

    I do not understand your qurestion. Maybe you can look at this

    http://jsbin.com/yivogiv/edit?html,js,output

    and tell us your requirement

    thanks

    -D

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 22, 2017 at 03:04 PM

    Hi Sandip,

    Do you want to do some actions on Item Press also Icon also? or Only on icon?

    Add comment
    10|10000 characters needed characters exceeded