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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.