HTML renderer - click event

Tags: #<Tag:0x00007fee31a39f40>

Hello,

I’m trying to use HTML renderer with cells. It works just fine, but I’d like to do the following.

Let’s say, I have a cell with 3 “span” elements.

Question is, how could I know which of the elements was clicked?
Here is my fiddle:
https://jsfiddle.net/pztqs5L0/4/

Thanks.

Hi @andraz.podobnik

I suggest to give them individual ID’s for better recognition. Also, you need to set pointer-event:all in CSS to get the click event:

https://jsfiddle.net/aszymanski/vsxmw2j0/

Hi @adrian.szymanski,

this worked. Thanks!

@andraz.podobnik

That’s great, I will close this topic then.