0
votes

I am trying to get the value of a column in the parent row of a child row's onEdit event for a Telerik MVC Grid. How would I achieve that?

e.target.parentNode.parentNode.parentNode.innerHTML gives me table row of the parent row. I now need to parse this to get the column data I want. Someone know of a more elegant solution?

Steve

1

1 Answers

1
votes

use $(e.target).parent('tr').find('td:nth-child(2)').text() where 2 is the column you want the contents of.