Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Get rowID from column button click in ClientTemplate

$
0
0

Hello Dave,

It is not completely clear for us why removing the data-uid attribute of the Grid rows is required. Could you elaborate further? Regarding the specific case, you could use jQuery's closest() method to get the current row from the button's click handler.
E.g.

function onClick(){
  var row = $(this).closest("tr");
}
Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images