How can I get sellected Cell name onContextMenuClick #2360
Answered
by
vitmalina
kenyazilim
asked this question in
Q&A
-
I'm using version 2 and I have
in my code but
is not working. How can I get selected cell onContextMenuClick |
Beta Was this translation helpful? Give feedback.
Answered by
vitmalina
Apr 24, 2023
Replies: 1 comment 3 replies
-
I fixed the event to include let td = query(event.originalEvent.target).closest('td')
let column = parseInt(td.attr('col')) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My bad, it is actually in
event.detail.originalEvent
Here is an example with it https://w2ui.com/web/demos/#/grid/37