Click function inside cell not getting triggered

Tags: #<Tag:0x00007f0b0bc0de70>

I have added two buttons inside a cell by using custom render. I have added click to both of the buttons. But they are not getting triggered on clicking them. I have created an example below:-

https://stackblitz.com/edit/showmodalon-icon-click

Hi @shinoyjose009

it looks like the click event is stolen. Have you tried to attach a class to the element and the use the addEventListener on click?
You may also try to use the afterOnCellMouseDown hooks that returns an event - the event.target should differ if the user clicked the button.

@aleksandra_budnik I tried using afterOnCellmouseDown and it really helped me. I was able to differ using event.realTarget

Thanks :+1:

Great :slight_smile: thank you for confirmation.