[Vuejs]-How to get cell value when that cell is clicked?

2👍

You can bind the click event to the <table> and get the deepest element from the event to see which <td> was clicked and what value is in there.

See this fiddle: https://jsfiddle.net/at0sdhsh/

Leave a comment